Commit Graph

402 Commits

Author SHA1 Message Date
levlam
13187c945a Move get_can_send_story_result_object inside StoryManager. 2024-08-16 17:36:17 +03:00
levlam
62d1a85ab6 Add more checks for paid reactions. 2024-07-26 16:39:30 +03:00
levlam
1438e1bd88 Add td_api::reactionTypePaid. 2024-07-26 15:11:41 +03:00
levlam
62642f83d5 Simplify editing of story media areas. 2024-08-05 09:45:04 +03:00
levlam
024d21e7fd Remove unused parameter of get_story_content_any_file_id. 2024-08-03 21:59:11 +03:00
levlam
2c6d9a000f Fix includes. 2024-08-01 21:33:52 +03:00
levlam
1348723205 Support file reference repair when edit story cover. 2024-07-27 23:02:29 +03:00
levlam
1f29dc7b97 Add td_api::editStoryCover. 2024-07-27 22:39:44 +03:00
levlam
c9a92f64d6 Pass UserManager to get_text_entity_object. 2024-07-21 12:33:02 +03:00
levlam
14b66aec1b Register quick reply messages with forwarded stories. 2024-06-18 00:36:02 +03:00
levlam
3f99e0a69b Add td_api::searchPublicStoriesByLocation. 2024-06-07 16:51:06 +03:00
levlam
f5a9be27b8 Add td_api::searchPublicVenueStories. 2024-06-05 15:27:16 +03:00
levlam
7c5ee12a0e Add td_api::searchPublicHashtagStories. 2024-06-04 14:48:28 +03:00
levlam
fdee1297df Improve on_external_update_message_content. 2024-06-10 20:10:05 +03:00
levlam
8d8b9ffc0b Asynchronously update message content when story is changed to avoid possible cycles. 2024-05-15 12:05:45 +03:00
levlam
7ab118780a Add source to on_external_update_message_content. 2024-05-15 11:40:47 +03:00
levlam
72368062ef Add stories.pinned_story_ids. 2024-04-25 23:17:06 +03:00
levlam
7aca38cab5 Add td_api::setChatPinnedStories. 2024-04-25 22:36:19 +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
649b8cef01 Pass ChannelId to can_get_channel_story_statistics. 2024-03-18 00:03:00 +03:00
levlam
1c06f69a03 Move on_view_dialog_active_stories to StoryManager. 2024-03-06 14:46:52 +03:00
levlam
4198bff4af Don't initialize story sender for anonymous administrators. 2024-02-13 14:17:47 +03:00
levlam
781c9f53cb Fix sender_id for yet unsent stories. 2024-02-13 13:41:51 +03:00
levlam
e978e86c50 Add more story_id checks. 2024-02-13 13:41:05 +03:00
levlam
0dc90cf820 Remove chat identifier from setStoryPrivacySettings. 2024-02-13 13:13:41 +03:00
levlam
e9c8fb8cb4 Ignore story privacy settings for channel stories. 2024-02-13 13:07:09 +03:00
levlam
1c40ce963c Reload chats to send stories after updating the list locally to restore correct order. 2024-02-13 12:55:07 +03:00
levlam
9d0ca2670e Add story.sender_id. 2024-02-12 16:12:29 +03:00
levlam
32898dbe88 Move get_chat_ids_object and get_chats_object to DialogManager. 2024-01-04 16:13:20 +03:00
levlam
ebda6f1364 Use DialogManager::get_my_dialog_id. 2024-01-04 15:49:02 +03:00
levlam
eb5a37e927 Add DialogManager::force_create_dialog. 2024-01-04 15:38:01 +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
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
2a685bc9ab Early process received users and chats. 2023-12-26 15:52:17 +03:00
levlam
c3c14ee65e Add td_api::getChatStoryInteractions. 2023-12-26 14:24:42 +03:00
levlam
8655fbe5d7 Add getStoryInteractions.prefer_forwards. 2023-12-26 13:47:24 +03:00
levlam
b196d38a68 Get channel difference if needed before processing story views list. 2023-12-26 13:11:22 +03:00
levlam
53cf01e7bf Support various types of story interactions. 2023-12-25 22:07:02 +03:00
levlam
964663948d Improve StoryViewer getters. 2023-12-25 16:32:41 +03:00
levlam
a4ed86c44e Update BlockList in StoryViewers::StoryViewers. 2023-12-25 15:52:03 +03:00
levlam
b3d19e51e5 Rename storyViewer to storyInteraction. 2023-12-25 15:34:47 +03:00
levlam
ca2cf0e25c Add storyViewers.total_forward_count. 2023-12-25 15:10:48 +03:00
levlam
fd0135393c Process chats from stories.storyViewsList. 2023-12-19 13:04:21 +03:00
levlam
5725cf0388 Add td_api::storyAreaTypeMessage. 2023-12-18 14:40:11 +03:00
levlam
c6ce44815e Update layer to 169. 2023-12-05 12:30:12 +03:00
levlam
15b8ad5c66 Add MediaArea::get_input_media_areas. 2023-12-18 14:24:07 +03:00