2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Update API scheme on layer 140.

This commit is contained in:
John Preston
2022-04-06 16:27:23 +04:00
parent 7b307a9e54
commit d9f6a5206e
9 changed files with 25 additions and 34 deletions

View File

@@ -2007,11 +2007,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
case mtpc_updateWebViewResultSent: {
const auto &d = update.c_updateWebViewResultSent();
session().data().webViewResultSent({
.peerId = peerFromMTP(d.vpeer()),
.botId = UserId(d.vbot_id()),
.queryId = d.vquery_id().v,
});
session().data().webViewResultSent({ .queryId = d.vquery_id().v });
} break;
case mtpc_updatePendingJoinRequests: {