Commit Graph

57 Commits

Author SHA1 Message Date
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
57b935f6a7 Move more functions to ReactionType. 2023-08-05 14:59:42 +03:00
levlam
5558825d61 Add class ReactionType. 2023-08-04 18:39:07 +03:00
levlam
8d971da083 Fix MessageReaction creation. 2023-07-13 13:54:58 +03:00
levlam
f733cb56ce Fix my_recent_chooser when removing reaction. 2023-05-01 18:28:06 +03:00
levlam
601a216078 Add reactions on behalf of channels. 2023-04-27 19:31:31 +03:00
levlam
e528c85550 Remove now unneeded parameters from MessageReactions::remove_reaction. 2023-04-27 16:42:38 +03:00
levlam
89cd51b461 Add MessageReaction::update_from. 2023-04-27 16:37:15 +03:00
levlam
2d0fa11624 Support my_recent_chooser_dialog_id. 2023-04-27 16:20:54 +03:00
levlam
754ff0fc53 Improve handling of internal options with updates. 2023-01-17 14:24:18 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
8ab43e5b9f Make most MessageReaction methods private. 2022-09-24 21:32:50 +03:00
levlam
798f4fdb2f Add MessageReactions::add_min_channels. 2022-09-24 21:09:07 +03:00
levlam
375446ac88 Add MessageReactions::add_dependencies. 2022-09-24 21:07:35 +03:00
levlam
da00ea6f86 Add MessageReactions::get_message_reactions_object. 2022-09-24 20:58:54 +03:00
levlam
c9f7603ad7 Add MessageReactions::are_consistent_with_list. 2022-09-24 20:15:38 +03:00
levlam
cef7ca17f3 Always show all reaction choosers in private chats. 2022-09-14 17:15:12 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
5213561096 Make non-const MessageReaction functions private. 2022-09-13 15:35:18 +03:00
levlam
38fbd00e99 Add and use get_reactions_hash. 2022-09-12 21:55:30 +03:00
levlam
999326d56a Locally add reaction to recent. 2022-09-12 20:17:14 +03:00
levlam
f119e867df Update chosen reaction order when reactions are added or removed. 2022-09-11 15:10:56 +03:00
levlam
2ee994aed1 Add MessageReactions::get_chosen_reactions. 2022-09-11 14:06:01 +03:00
levlam
e07ab8e71a Save chosen reaction order. 2022-09-11 13:35:25 +03:00
levlam
28d3d1ab37 Add MessageReactis::add_reaction/remove_reaction. 2022-09-09 17:43:21 +03:00
levlam
e0699944b3 Add is_custom_reaction. 2022-09-09 17:05:27 +03:00
levlam
55ec944266 Pass all chosen reactions to send_message_reaction. 2022-09-09 16:21:00 +03:00
levlam
4ae5b9a533 Consistently use is_active_reaction. 2022-09-08 21:04:23 +03:00
levlam
4fdac24cc5 Add setMessageReaction.update_recent_reactions. 2022-09-05 22:04:50 +03:00
levlam
4e6046b9ec Treat all emoji reactions as non-premium. 2022-08-24 23:31:15 +03:00
levlam
43f91a9de5 Add td_api::reportMessageReactions. 2022-08-23 14:39:10 +03:00
levlam
fa07382e5b Explicitly pass default_reaction to send_update_default_reaction_type. 2022-08-22 21:29:09 +03:00
levlam
ef4f0989b1 Update default reaction from other apps. 2022-08-22 15:44:38 +03:00
levlam
c2a62dbc09 Add updateDefaultReactionType. 2022-08-22 15:23:17 +03:00
levlam
b14708f0f5 Support reactions with custom emoji. 2022-08-16 22:42:29 +03:00
levlam
febf458091 Move set_default_reaction to MessageReaction.h. 2022-08-15 22:47:02 +03:00
levlam
26fe0f73f9 Try to keep 3 other recent reaction choosers. 2022-08-07 15:28:55 +03:00
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