Commit Graph

115 Commits

Author SHA1 Message Date
levlam
1a8999c590 Update owned star count when adding paid reactions. 2024-08-07 14:40:15 +03:00
levlam
2c8a304e5a Move can_get_added_reactions to messageReactions. 2024-08-04 21:57:57 +03:00
levlam
ff174f3bce Add td_api::removePendingPaidMessageReactions. 2024-08-04 12:53:14 +03:00
levlam
4dc42bc1bd Combine and delay addPaidMessageReaction queries. 2024-08-04 12:26:40 +03:00
levlam
7d93a305ad Update top reactors in MessageReactions::update_from. 2024-08-03 11:46:22 +03:00
levlam
8cd69d759d Add MessageReactor::fix_message_reactors. 2024-08-03 11:35:09 +03:00
levlam
9913849249 Add MessageReactions::add_my_paid_reaction. 2024-08-01 23:31:50 +03:00
levlam
049692dcb8 Add messageReactions.paid_reactors. 2024-08-01 23:19:31 +03:00
levlam
3a8b58b483 Support chosen paid reaction. 2024-07-26 17:54:32 +03:00
levlam
98ed9f98c4 Add td_api::addPaidMessageReaction. 2024-07-26 17:50:18 +03:00
levlam
62d1a85ab6 Add more checks for paid reactions. 2024-07-26 16:39:30 +03:00
levlam
14b4666423 Use DialogManager::check_dialog_access when appropriate. 2024-04-15 02:32:04 +03:00
levlam
c0ed8f09b0 Add explicit allow_secret_chats to have_input_peer. 2024-04-14 22:59:05 +03:00
levlam
bd8c6be0cd Rename rest of ContactsManager to ChatManager. 2024-04-02 13:06:22 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
2351a83227 Add and use get_chosen_tags. 2024-01-24 12:01:20 +03:00
levlam
e8f96d2520 Support adding tags to a message. 2024-01-22 20:25:19 +03:00
levlam
eb80098431 Add td_api::messageReactions and messageReactions.are_tags. 2024-01-22 19:37:05 +03:00
levlam
978be7206f Use DialogManager::have_dialog_force. 2024-01-04 15:26:42 +03:00
levlam
b2fccc7d9c Move ContactsManager proxy methods to DialogManager. 2024-01-03 23:07:50 +03:00
levlam
0e2b7eab27 Ensure that messageReaction.total_count isn't less than the number of recent users. 2024-01-02 02:54:57 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
e4e76a7483 Add td_api::setMessageReactions for bots. 2023-12-15 14:51:26 +03:00
levlam
0072ff225b Add static methods for processing of vector<ReactionType>. 2023-12-14 18:46:52 +03:00
levlam
e3d89cf90f Add messageReaction.used_sender_id. 2023-09-28 14:32:08 +03:00
levlam
0fd3c55547 Add addedReaction.is_outgoing. 2023-09-28 13:25:33 +03:00
levlam
7d2d0b9f2e Improve names of MessageReaction functions. 2023-09-27 17:25:03 +03:00
levlam
b41a51f2ec Use add_to_top if possible. 2023-10-04 16:18:20 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
830da27abf Minor improvements. 2023-08-05 15:31:42 +03:00
levlam
57b935f6a7 Move more functions to ReactionType. 2023-08-05 14:59:42 +03:00
levlam
905287f1ec Improve ReactionType logging. 2023-08-04 18:44:54 +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
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
fca432eb43 Don't reload message reactions for messages with being read reactions. 2023-06-23 14:39:07 +03:00
levlam
f733cb56ce Fix my_recent_chooser when removing reaction. 2023-05-01 18:28:06 +03:00
levlam
e4a15cc0ef Fix MessageReaction::set_my_recent_chooser_dialog_id. 2023-05-01 18:09:27 +03:00
levlam
601a216078 Add reactions on behalf of channels. 2023-04-27 19:31:31 +03:00
levlam
036a7cd539 Ensure that my_dialog_id is the same for all reactions. 2023-04-27 18:46:51 +03:00
levlam
b1c627a3be Fix chosen reaction order in MessageReactions::update_from. 2023-04-27 17:26:26 +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
75e00df016 Ensure ordering between messages.getMessagesReactions and channels.readMessageContents. 2023-06-01 15:53:13 +03:00
levlam
cfc46b1893 Load chat with its info if appropriate. 2023-04-13 23:13:38 +03:00
levlam
d1146a46f2 Add more secret chat checks. 2023-03-22 16:44:52 +03:00
levlam
9260822b6e Add reaction date to addedReaction. 2023-03-08 21:12:45 +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