mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Update API scheme on layer 140.
This commit is contained in:
@@ -1113,6 +1113,10 @@ auto HtmlWriter::Wrap::pushMessage(
|
||||
}, [&](const ActionChatJoinedByRequest &data) {
|
||||
return serviceFrom
|
||||
+ " joined group by request";
|
||||
}, [&](const ActionWebViewDataSent &data) {
|
||||
return "You have just successfully transferred data from the «"
|
||||
+ SerializeString(data.text)
|
||||
+ "» button to the bot";
|
||||
}, [](v::null_t) { return QByteArray(); });
|
||||
|
||||
if (!serviceText.isEmpty()) {
|
||||
|
@@ -527,6 +527,9 @@ QByteArray SerializeMessage(
|
||||
}, [&](const ActionChatJoinedByRequest &data) {
|
||||
pushActor();
|
||||
pushAction("join_group_by_request");
|
||||
}, [&](const ActionWebViewDataSent &data) {
|
||||
pushAction("send_webview_data");
|
||||
push("text", data.text);
|
||||
}, [](v::null_t) {});
|
||||
|
||||
if (v::is_null(message.action.content)) {
|
||||
|
Reference in New Issue
Block a user