diff --git a/Telegram/Resources/tl/api.tl b/Telegram/Resources/tl/api.tl index 4e1cf48b4..d9b3d1d71 100644 --- a/Telegram/Resources/tl/api.tl +++ b/Telegram/Resources/tl/api.tl @@ -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 results:Vector chats:Vector users:Vector = contacts.Found; diff --git a/Telegram/SourceFiles/history/view/history_view_send_action.cpp b/Telegram/SourceFiles/history/view/history_view_send_action.cpp index e8c0015ed..84a8d2457 100644 --- a/Telegram/SourceFiles/history/view/history_view_send_action.cpp +++ b/Telegram/SourceFiles/history/view/history_view_send_action.cpp @@ -118,6 +118,10 @@ bool SendActionPainter::updateNeedsAnimating( emplaceAction( Type::ChooseSticker, kStatusShowClientsideChooseSticker); + }, [&](const MTPDsendMessageEmojiInteraction &) { + // #TODO interaction + }, [&](const MTPDsendMessageEmojiInteractionSeen &) { + // #TODO interaction }, [&](const MTPDsendMessageCancelAction &) { Unexpected("CancelAction here."); });