Update API scheme.

This commit is contained in:
John Preston 2021-09-10 12:58:52 +03:00
parent faa5619f1e
commit 05b35bb803
2 changed files with 6 additions and 0 deletions

View File

@ -467,6 +467,8 @@ sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;
speakingInGroupCallAction#d92c2285 = SendMessageAction;
sendMessageHistoryImportAction#dbda9246 progress:int = SendMessageAction;
sendMessageChooseStickerAction#b05ac6b1 = SendMessageAction;
sendMessageEmojiInteraction#6a3233b6 emoticon:string interaction:DataJSON = SendMessageAction;
sendMessageEmojiInteractionSeen#b665902e emoticon:string = SendMessageAction;
contacts.found#b3134d9d my_results:Vector<Peer> results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;

View File

@ -118,6 +118,10 @@ bool SendActionPainter::updateNeedsAnimating(
emplaceAction(
Type::ChooseSticker,
kStatusShowClientsideChooseSticker);
}, [&](const MTPDsendMessageEmojiInteraction &) {
// #TODO interaction
}, [&](const MTPDsendMessageEmojiInteractionSeen &) {
// #TODO interaction
}, [&](const MTPDsendMessageCancelAction &) {
Unexpected("CancelAction here.");
});