Commit Graph

8717 Commits

Author SHA1 Message Date
levlam
b4c25af1b6 Update stories from channelFull. 2023-09-05 18:36:30 +03:00
levlam
de204f7bf2 Add supergroupFullInfo.has_pinned_stories. 2023-09-05 18:34:06 +03:00
levlam
f2a821a07e Support archiving channel stories. 2023-09-05 18:17:45 +03:00
levlam
35a319db20 Poll channel max active story identifiers. 2023-09-05 17:41:33 +03:00
levlam
8991ddf263 Add supergroup.has_active_stories/has_unread_active_stories. 2023-09-05 16:50:41 +03:00
levlam
86d286fc7c Add story action flags. 2023-09-05 15:50:38 +03:00
levlam
6e3e4c190d Add Story.is_outgoing_ field. 2023-09-05 13:50:16 +03:00
levlam
b16de41ef1 Support sending and editing stories in channels. 2023-09-04 23:49:17 +03:00
levlam
58097b847b Remove StoryManager::is_story_owned. 2023-09-04 22:21:20 +03:00
levlam
66fd2f35f2 Add StoryManager::can_get_story_view_count. 2023-09-04 22:19:42 +03:00
levlam
0c9d8e9f6f Add StoryManager::can_access_expired_story. 2023-09-04 21:52:05 +03:00
levlam
0115c9ac9d Add functions to check story access rights. 2023-09-04 21:45:16 +03:00
levlam
868b6b930f Add StoryManager::is_my_story. 2023-09-04 21:34:17 +03:00
levlam
3c977a0f99 Add story-related administrator rights. 2023-09-04 20:24:44 +03:00
levlam
08639b520a Allow to set suggested custom reactions from stories. 2023-08-25 19:11:24 +03:00
levlam
fa1b6f33e1 Support storyAreaTypeSuggestedReaction. 2023-08-25 16:37:27 +03:00
levlam
153ff5503b Update layer to 164. 2023-08-15 22:45:37 +03:00
levlam
a7e9980246 Allow negative rotation angle. 2023-09-20 17:22:01 +03:00
levlam
b72fa29981 Improve ReactionManager::is_active_reaction. 2023-09-19 15:28:39 +03:00
levlam
daf480138d Ignore the unsupported chat among returned chats. 2023-09-17 01:34:13 +03:00
levlam
03ccaa40aa Fix show_in_attach_menu_ flag. 2023-09-16 01:48:45 +03:00
levlam
fb7cb1b1d0 Add MessagesManager::resolve_dialog. 2023-09-15 18:20:21 +03:00
levlam
25b8caff59 Add MessagesManager::send_resolve_dialog_username_query. 2023-09-15 17:44:32 +03:00
levlam
e79f540937 Minor improvements. 2023-09-13 22:17:46 +03:00
levlam
100ca72b91 Update version to 1.8.18. 2023-09-13 18:14:23 +03:00
levlam
a0d0262394 Fix PhotoSizeSource::parse. 2023-09-13 17:41:50 +03:00
levlam
f899fe9145 Don't delete notifications when initializing last_new_message_id. There should be no old notifications anyway, but there could be a pending notification about the being added message. 2023-09-13 16:57:44 +03:00
levlam
e65e5b0b49 Extract delete_all_dialog_notifications from delete_all_dialog_messages_from_database. 2023-09-13 16:29:37 +03:00
levlam
721f0ae9e4 Update name of storyPrivacySettingsSelectedUsers. 2023-09-13 15:19:16 +03:00
levlam
9d168b847f Recheck unconfirmed sessions once an hour and after restart. 2023-09-13 15:05:28 +03:00
levlam
f4fabcf996 Improve td_api::session. 2023-09-13 13:12:56 +03:00
levlam
55a20cad32 Unconfirmed session fixes. 2023-09-12 16:09:56 +03:00
levlam
64d66fb3dc Delete expired unconfirmed sessions. 2023-09-12 15:44:57 +03:00
levlam
7f2d1cdd9d Delete expired unconfirmed sessions after loading them after restart. 2023-09-12 14:48:42 +03:00
levlam
6a4c78e849 Add internal option "authorization_autoconfirm_period". 2023-09-12 14:32:28 +03:00
levlam
2e4594a35a Add td_api::confirmSession. 2023-09-12 14:28:02 +03:00
levlam
4bb1fd86d3 Keep unconfirmed authorizations between restarts. 2023-09-12 00:39:25 +03:00
levlam
a87340edbd Tend to return more results from searchPublicChats. 2023-09-11 23:30:54 +03:00
levlam
064561e02a Automatically confirm sessions on specific actions. 2023-09-11 23:29:17 +03:00
levlam
a874e617dc Add updateUnconfirmedSession. 2023-09-11 22:03:01 +03:00
levlam
be442ba977 Move get_user_link to AccountManager. 2023-09-11 18:59:19 +03:00
levlam
5f1b1f41fc Add class InviteLinkChatType. 2023-09-11 18:33:44 +03:00
levlam
d2a3dfccc3 Support side menu icons for bots. 2023-09-08 17:21:16 +03:00
levlam
793e2ed0be Move account-related methods to AccountManager. 2023-09-08 16:34:11 +03:00
levlam
162b5cc636 Add AccountManager. 2023-09-08 16:19:30 +03:00
levlam
66793cf2f5 Add session.is_unconfirmed. 2023-09-08 15:49:25 +03:00
levlam
bf500652dc Support opening of Web Apps from the side menu and internalLinkTypeSideMenuBot links. 2023-09-07 21:40:47 +03:00
levlam
a7d9da0229 Add internalLinkTypeSideMenuBot. 2023-09-07 19:23:07 +03:00
levlam
289c25fd93 Support non-added bots in the list of attachment menu bots. 2023-09-07 18:04:21 +03:00
levlam
3983615646 Support showing attachment menu bots in side menu. 2023-09-07 16:45:42 +03:00