Commit Graph

7951 Commits

Author SHA1 Message Date
levlam
877452f6ce Add Global::get_retry_after. 2022-04-12 16:12:22 +03:00
levlam
7a2b3abe18 Support new NotificationSound. 2022-04-11 20:01:44 +03:00
levlam
bb8c4ca42c Fix updating of Dialog.available_reactions_generation. 2022-04-11 16:01:30 +03:00
levlam
80d57a493f Move get_input_notify_peer to NotificationSettingsManager. 2022-04-11 13:06:16 +03:00
levlam
32ed470417 Fix attach menu icons initialization. 2022-04-11 12:55:43 +03:00
levlam
9fd72e86d0 Move scope notification settings tp NotificationSettingsManager. 2022-04-11 12:45:52 +03:00
levlam
61014ce5b0 Minor fixes. 2022-04-10 22:10:41 +03:00
levlam
88b9f35b91 Add PhotoSize.h. 2022-04-10 01:15:49 +03:00
levlam
05c0833525 Add PhotoFormat.h. 2022-04-09 23:21:07 +03:00
levlam
b3a0c1dcda Fix notifications settings of newly created chats. 2022-04-08 18:08:06 +03:00
levlam
cb5fe8c7cd Move some related to notification settings methods to NotificationSettingsManager. 2022-04-08 17:17:56 +03:00
levlam
04fdb16166 Update setChatMessageTtl description. 2022-04-08 16:19:00 +03:00
levlam
161d34fc15 Keep in chat list empty joined basic groups. 2022-04-08 15:35:21 +03:00
levlam
1302aa2520 Fix opening bot from bot menu. 2022-04-08 04:09:07 +03:00
levlam
2b3d3c5efd Apply bot menu button update to non-loaded users. 2022-04-08 04:02:25 +03:00
levlam
0c9e72a00a Fix error message. 2022-04-08 03:48:38 +03:00
levlam
6c0438fc69 Minor fixes. 2022-04-07 20:38:22 +03:00
levlam
00c64aba6e Remove openWebApp.from_bot_menu flag. 2022-04-07 18:29:59 +03:00
levlam
e25ca7ef33 Add td_api::setMenuButton. 2022-04-07 18:15:58 +03:00
levlam
4155752cdf Add td_api::getMenuButton. 2022-04-07 17:20:26 +03:00
levlam
62612b9668 Add BotMenuButton. 2022-04-06 20:24:54 +03:00
levlam
2a0ff37f76 Improve error messages. 2022-04-05 19:07:12 +03:00
levlam
317d267241 Allow HTTP web app links in test DC. 2022-04-05 18:52:22 +03:00
levlam
7e69ef731d Add empty NotificationSettingsManager. 2022-04-05 00:40:22 +03:00
levlam
a1125be8eb Keep promise non-emptiness in call to send_get_channel_full_query. 2022-04-04 20:20:29 +03:00
levlam
7c4f3c79ef Suppress expected error. 2022-04-04 20:05:34 +03:00
levlam
1f11239255 Use InvokeAfter for some chat-related requests. 2022-04-04 20:01:56 +03:00
levlam
c5d58a8158 Add source to MessagesManager::repair_server_unread_count. 2022-04-04 19:29:03 +03:00
levlam
da3baf09e9 Improve logging. 2022-04-04 19:08:47 +03:00
levlam
713debab58 Update participant cache after changing their rights. 2022-04-04 17:16:31 +03:00
levlam
6d17d58307 Fix formatting. 2022-04-04 16:48:53 +03:00
levlam
7d3f0cb37f Use get_channel_participant in set_channel_participant_status to honor chat member cache. 2022-04-04 16:44:48 +03:00
levlam
e2f9cc399f Pass correct ChannelType to DialogParticipant constructor. 2022-04-04 16:29:46 +03:00
levlam
c3996b4726 Always adjust administrator rights for supergroups and channels. 2022-04-04 16:19:41 +03:00
levlam
99b79911e0 Remove verbose DialogParticipantStatus::Administrator. 2022-04-04 15:59:30 +03:00
levlam
1d6488ab09 Add ContactsManager::is_broadcast_channel/is_megagroup_channel helpers. 2022-04-04 15:48:33 +03:00
levlam
a8a343704a Add ChannelType.h. 2022-04-04 15:35:09 +03:00
levlam
7f587c24d9 Replace get_restricted_rights with RestrictedRights constructors. 2022-04-04 14:13:51 +03:00
levlam
4a50db52d8 Replace get_administrator_rights with AdministratorRights constructor. 2022-04-04 13:58:14 +03:00
levlam
665c1adc75 Ignore RIGHTS_NOT_MODIFIED error. 2022-04-03 23:33:33 +03:00
levlam
ca1f844f44 Remove unneeded commas. 2022-04-03 22:59:28 +03:00
levlam
a73ccbd19d Invalidate UserFullInfo after changing default administrator rights. 2022-04-03 10:41:14 +03:00
levlam
dd6a741f8a Add setDefaultGroupAdministratorRights/setDefaultChannelAdministratorRights. 2022-04-02 15:32:04 +03:00
levlam
fd00755bec Add internalLinkTypeBotAddToChannel. 2022-04-02 14:51:20 +03:00
levlam
7364334ebe Add internalLinkTypeAttachMenuBot. 2022-04-01 14:00:34 +03:00
levlam
2992d1e5e4 Prolong opened web view every minute. 2022-04-01 00:00:50 +03:00
levlam
07424ae14e Add updateWebAppMessageSent. 2022-03-31 22:02:19 +03:00
levlam
c1aa1defbb Add td_api::closeWebApp. 2022-03-31 21:45:35 +03:00
levlam
4384a832bb Improve reply_to_message_id documentation. 2022-03-31 17:00:52 +03:00
levlam
e54fac174a Rename web view to web app. 2022-03-31 16:42:59 +03:00