Commit Graph

20 Commits

Author SHA1 Message Date
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
36c2ef9e62 Ensure that the current user is among recent choosers of the chosen reaction. 2022-04-27 22:13:05 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
b1b945e239 Minor fixes. 2022-01-31 15:56:44 +03:00
levlam
fe4232ca79 Add MessageReactions logging. 2022-01-30 13:24:27 +03:00
levlam
abb2c1a105 Ignore reaction updates while setting reaction. 2022-01-30 12:55:27 +03:00
levlam
e5084491f6 Add Message.unread_reactions. 2022-01-28 17:10:17 +03:00
levlam
6ebb83a194 Improve class names and documentation. 2022-01-27 01:52:21 +03:00
levlam
fd4b9a5a79 Handle missing updateMessageReactions in response to getMessagesReactions as a message without reactions. 2022-01-26 20:06:27 +03:00
levlam
f9c6fb14f6 Relaod message reactions if failed to set reaction. 2022-01-26 18:48:46 +03:00
levlam
97e0288363 Check that reaction is among available reactions before set it locally. 2022-01-26 16:51:47 +03:00
levlam
ba5c326ba8 Support sending big reactions. 2022-01-26 16:41:41 +03:00
levlam
1901eafe8a Add td_api::getMessageAvailableReactions. 2022-01-26 15:25:03 +03:00
levlam
5edc92dd72 Update recent reaction choosers in setMessageReaction. 2022-01-26 12:50:41 +03:00
levlam
bad018bc32 Sort message reactions by the number of choosers. 2022-01-26 12:01:14 +03:00
levlam
ce19ad822b Add td_api::setMessageReaction. 2022-01-21 20:39:55 +03:00
levlam
ebb78d3c1b Add td_api::getMessageChosenReactions. 2022-01-21 16:46:16 +03:00
levlam
05a069d221 Use MessageSender for recent reaction choosers. 2022-01-21 13:15:27 +03:00
levlam
739d2b292d Add MessageReactions. 2022-01-20 22:54:34 +03:00