Commit Graph

39 Commits

Author SHA1 Message Date
levlam
1b200bb820 Save and load message effects. 2024-05-09 17:37:07 +03:00
levlam
5d349d86e1 Add td_api::updateAvailableMessageEffects. 2024-05-09 16:54:06 +03:00
levlam
aab71e18cf Add td_api::getMessageEffect. 2024-05-08 18:08:15 +03:00
levlam
4b3e0ee8eb Add td_api::MessageEffectType. 2024-05-08 10:59:30 +03:00
levlam
7b7d60a394 Add td_api::getMessageEffects. 2024-05-07 18:49:00 +03:00
levlam
be197d6ec3 Add source to reload_reaction_list. 2024-03-22 15:57:46 +03:00
levlam
afb8524392 Minor fixes. 2024-02-07 17:50:57 +03:00
levlam
f0503191e4 Load Saved Messages tags in topic from database. 2024-02-02 17:09:49 +03:00
levlam
3e9f2ba515 Merge add_saved_reaction_tags and get_saved_reaction_tags. 2024-02-02 16:49:13 +03:00
levlam
04f3432574 Load all Saved Messages tags from database. 2024-02-02 16:30:11 +03:00
levlam
56e37a87a2 Save Saved Messages tags to database. 2024-02-02 00:06:59 +03:00
levlam
930a3ccdca Support Saved Messages tags in topics. 2024-01-29 19:11:14 +03:00
levlam
027b23ac5a Simplify SavedReactionTags::update_saved_messages_tags. 2024-01-29 18:58:30 +03:00
levlam
c95cb5d75c Minor imrovements. 2024-01-25 20:06:07 +03:00
levlam
db1644bb13 Add and use SavedReactionTag constructor. 2024-01-25 17:29:29 +03:00
levlam
04ec06ef4f Update tag labels locally. 2024-01-25 17:12:02 +03:00
levlam
2b442c1caa Add ReactionManager::reget_saved_messages_tags. 2024-01-25 17:04:02 +03:00
levlam
096fc39bd1 Cache reaction tag hash. 2024-01-25 14:29:22 +03:00
levlam
9fe83feeeb Add td_api::ReactionUnavailabilityReason. 2024-01-24 17:11:41 +03:00
levlam
1b15b2825c Add and use SavedReactionTags::calc_hash(). 2024-01-24 00:25:02 +03:00
levlam
839969e255 Allow tags with label but without count. 2024-01-23 23:11:12 +03:00
levlam
588b889e4c Check Saved Messages tags for validness. 2024-01-23 23:04:47 +03:00
levlam
cb70c0fa97 Update saved reaction tags after changing them locally. 2024-01-23 22:56:00 +03:00
levlam
956c35d6e0 Add td_api::setSavedMessagesTagLabel. 2024-01-23 19:04:31 +03:00
levlam
1c53d32aba Return default tag reactions first for tags. 2024-01-23 16:49:50 +03:00
levlam
9a09125d62 Support telegram_api::updateSavedReactionTags. 2024-01-23 16:39:15 +03:00
levlam
291cd4203a Add td_api::updateSavedMessagesTags. 2024-01-23 16:23:35 +03:00
levlam
9df2ba6e64 Add td_api::getSavedMessagesTags. 2024-01-23 16:01:27 +03:00
levlam
b9afcbb70c Support reaction tags in getMessageAvailableReactions. 2024-01-22 20:03:05 +03:00
levlam
0823ee492e Add enum ReactionListType. 2024-01-18 20:53:43 +03:00
levlam
f4388dfc5c Add ReactionList.is_loaded_from_database. 2024-01-18 20:12:22 +03:00
levlam
74aab0a7b2 Load default tag reactions. 2024-01-18 20:08:37 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
c474942666 Use add_to_top. 2023-10-01 21:17:30 +03:00
levlam
dd023dba19 Add td_api::getStoryAvailableReactions. 2023-08-09 14:13:41 +03:00
levlam
5b6e1c60db Minor improvements. 2023-08-09 13:31:34 +03:00
levlam
ce679e7b78 Move default reaction handling to ReactionManager. 2023-08-09 13:19:54 +03:00
levlam
441482c0c4 Remove now unneeded proxies to ReactionManager. 2023-08-09 13:10:06 +03:00
levlam
9dcfd9d66d Add ReactionManager and move there all reaction-related methods from StickersManager. 2023-08-09 12:59:48 +03:00