Commit Graph

4971 Commits

Author SHA1 Message Date
levlam
f6fc10ab22 Add updateChatTheme. 2021-08-27 20:36:40 +03:00
levlam
abcfe46275 Fix MessageContentType::ChatSetTheme support. 2021-08-27 19:29:58 +03:00
levlam
c20fd1dd91 Add td_api::setChatTheme. 2021-08-27 19:23:22 +03:00
levlam
532a0f4502 Add td_api::pushMessageContentChatChangeTheme. 2021-08-27 16:38:05 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00
levlam
3e77161e46 Don't replace main background type if appropriate. 2021-08-27 12:10:51 +03:00
levlam
021474e8be Add chatEventThemeChanged. 2021-08-27 11:53:50 +03:00
levlam
e3f55a71cd Add td_api::viewSponsoredMessage. 2021-08-25 22:34:18 +03:00
levlam
658d172256 Improve method name. 2021-08-25 20:29:14 +03:00
levlam
723b203c7d Add td_api::getSponsoredMessages. 2021-08-24 23:44:47 +03:00
levlam
1e663dea46 Add group_call.is_video_recorded. 2021-08-24 17:49:08 +03:00
levlam
5cfabdd589 Add chat.theme_name. 2021-08-23 18:47:32 +03:00
levlam
b56119951b Support video streaming in group calls. 2021-08-23 16:59:00 +03:00
levlam
2045c131a9 Support video recording in group calls. 2021-08-23 15:29:03 +03:00
levlam
d61b1d9348 Add chatActionChoosingSticker. 2021-08-19 22:43:38 +03:00
levlam
31a4a97ec1 Add messageChatSetTheme. 2021-08-18 16:03:10 +03:00
levlam
b4dc516b44 Add unread_count to MessageThreadInfo. 2021-08-13 18:24:00 +03:00
levlam
84be6f4485 Update layer to 132. 2021-08-12 21:15:08 +03:00
levlam
43d837df4e Call MessagesManager::on_load_folder_dialog_list_fail only once. 2021-08-12 16:33:39 +03:00
levlam
d9aa50e1be Use get_dialogs_from_list instead of get_dialogs. 2021-08-12 15:16:13 +03:00
levlam
307344da1c Remove promise from load_folder_dialog_list. 2021-08-11 16:32:00 +03:00
levlam
d49fdf3261 Remove offset from getChats and respect app-specified limit. 2021-08-11 15:59:09 +03:00
levlam
c35321b98e Add loadChats method. 2021-08-10 17:52:31 +03:00
levlam
086ec3d2e5 Add td_api::getPhoneNumberInfoSync. 2021-08-30 22:26:02 +03:00
levlam
a68402719c Improve logging for secret chats. 2021-08-30 19:28:54 +03:00
levlam
8699d0aadb Make country information static. 2021-08-30 19:20:40 +03:00
levlam
44556b3309 Add CountryInfoManager::get_phone_number_info_object. 2021-08-30 17:51:09 +03:00
levlam
c5a2105b61 Improve getPhoneNumberInfo. 2021-08-30 17:11:45 +03:00
levlam
788c13f834 Update built-in list of countries. 2021-08-29 18:03:26 +03:00
levlam
aaff89a6c3 Make get_document_object methods const. 2021-08-28 14:16:29 +03:00
levlam
b1eb6db7b5 Minor logging improvements. 2021-08-26 21:44:29 +03:00
levlam
209dd8b41b Don't drop fully uploaded partial secure location. 2021-08-26 21:20:55 +03:00
levlam
897a4e26a7 Allow RemoteFileLocation logging. 2021-08-26 20:34:51 +03:00
levlam
cf7c14fb59 Remove unneeded document.is_changed. 2021-08-26 18:50:28 +03:00
levlam
ca03135f02 Use (1 << 30) as pts overflow mark. At least 1e9 must be used, because pts can jump from 1 to 1e9 when switching to tmessages. 2021-08-26 18:05:27 +03:00
levlam
e31a48998d Remove "Filling gap" warnings during getDifference. 2021-08-26 17:23:18 +03:00
levlam
fcfbb38f63 Fix MessageId::is_valid_scheduled. 2021-08-25 11:29:57 +03:00
levlam
8559392f6f Fix Dialog pts in run_after_channel_difference. 2021-08-25 11:21:17 +03:00
levlam
628648cd6c Use set_dialog_last_pinned_message_id instead of on_update_dialog_last_pinned_message_id. 2021-08-25 11:09:24 +03:00
levlam
dbdf69d076 Simplify on_update_dialog_last_pinned_message_id. 2021-08-25 11:03:07 +03:00
levlam
bba085318e Return BackgroundType from on_get_background. 2021-08-24 17:13:51 +03:00
levlam
8e7eba4f8c Reload ChannelFull in get_channel_statistics_dc_id. 2021-08-23 11:59:37 +03:00
levlam
828e1e22a0 Skip unneeded getFullChannel requests. 2021-08-23 11:10:46 +03:00
levlam
d229c5daed Fix handling of empty permissions in chatMemberStatusRestricted. 2021-08-21 19:57:01 +03:00
levlam
1a2faf5ae6 Add feedback_link to WebPageInstantView. 2021-08-21 10:22:41 +03:00
levlam
6393923d3a Make internalLinkTypeUnknownDeepLink self-contained. 2021-08-20 20:56:07 +03:00
levlam
df11403739 Make internalLinkTypeMessage self-contained. 2021-08-20 20:27:39 +03:00
levlam
618742acc2 Make internalLinkTypeChatInvite self-contained. 2021-08-20 18:44:02 +03:00
levlam
241718eae8 Extract pts and qts updates and apply them during getDifference. 2021-08-20 17:21:31 +03:00
levlam
a7e2e85119 Simplify check that all updates were processed. 2021-08-20 15:04:24 +03:00