| 1125 | } |
| 1126 | |
| 1127 | void Updates::handleEmojiInteraction( |
| 1128 | not_null<PeerData*> peer, |
| 1129 | const MTPDsendMessageEmojiInteraction &data) { |
| 1130 | const auto json = data.vinteraction().match([&]( |
| 1131 | const MTPDdataJSON &data) { |
| 1132 | return data.vdata().v; |
| 1133 | }); |
| 1134 | handleEmojiInteraction( |
| 1135 | peer, |
| 1136 | data.vmsg_id().v, |
| 1137 | qs(data.vemoticon()), |
| 1138 | ChatHelpers::EmojiInteractions::Parse(json)); |
| 1139 | } |
| 1140 | |
| 1141 | void Updates::handleSpeakingInCall( |
| 1142 | not_null<PeerData*> peer, |
nothing calls this directly
no test coverage detected