2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Update API scheme to layer 122.

This commit is contained in:
John Preston
2020-11-20 18:19:31 +03:00
parent 62eaa3f225
commit 3aa2619a7f
4 changed files with 40 additions and 3 deletions

View File

@@ -323,6 +323,12 @@ void HistoryService::setMessageByAction(const MTPmessageAction &action) {
}, [](const MTPDmessageActionSecureValuesSentMe &) {
LOG(("API Error: messageActionSecureValuesSentMe received."));
return PreparedText{ tr::lng_message_empty(tr::now) };
}, [&](const MTPDmessageActionGroupCall &data) {
// #TODO calls
return PreparedText{ "Group call" };
}, [&](const MTPDmessageActionInviteToGroupCall &data) {
// #TODO calls
return PreparedText{ "Invite to group call" };
}, [](const MTPDmessageActionEmpty &) {
return PreparedText{ tr::lng_message_empty(tr::now) };
});