levlam
|
4b641df524
|
Load recent dialogs before adding/removing them.
|
2021-09-13 21:30:48 +03:00 |
|
levlam
|
77c8eb9617
|
Add promise to RecentDialogList::get_dialogs.
|
2021-09-13 20:52:17 +03:00 |
|
levlam
|
5bec536803
|
Add class RecentDialogList.
|
2021-09-13 20:34:57 +03:00 |
|
levlam
|
5379c66acb
|
Improve documentation.
|
2021-09-13 16:46:01 +03:00 |
|
levlam
|
c03621d72c
|
Add CHECK debug.
|
2021-09-13 16:03:21 +03:00 |
|
levlam
|
075d004b9f
|
Replace getChatThemes with updateChatThemes.
|
2021-09-13 15:55:01 +03:00 |
|
levlam
|
a838fff28f
|
Add operator== for ThemeSettings.
|
2021-09-12 22:39:52 +03:00 |
|
levlam
|
196128b2f1
|
Update chat theme cache after receiving telegram_api::updateTheme.
|
2021-09-12 22:29:40 +03:00 |
|
levlam
|
488e5699b7
|
Send updateDeleteMessages for failed to add just sent messages.
|
2021-09-12 21:55:03 +03:00 |
|
levlam
|
b274c7dc85
|
Fix input_peer checks in toggle_message_sender_is_blocked.
|
2021-09-12 20:48:35 +03:00 |
|
levlam
|
45ebe775c5
|
Optimize SessionConnection::on_slice_packet using TlDowncastHelper.
|
2021-09-12 19:46:12 +03:00 |
|
levlam
|
47d3806c62
|
Move TlDowncastHelper to tdutils.
|
2021-09-12 19:04:22 +03:00 |
|
levlam
|
5dfd9ac9af
|
Disallow changing chat themes in group chats.
|
2021-09-11 23:24:46 +03:00 |
|
levlam
|
78baa7977b
|
Don't inherit Td from NetQueryCallback.
|
2021-09-10 18:58:36 +03:00 |
|
levlam
|
088c3169d4
|
Minor.
|
2021-09-10 18:23:23 +03:00 |
|
levlam
|
137543c172
|
Use send_closure_later in NetQueryDispatcher to break stack chain.
|
2021-09-10 17:42:24 +03:00 |
|
levlam
|
2062daf9cd
|
Don't wrap updates in NetQuery.
|
2021-09-10 17:32:39 +03:00 |
|
levlam
|
edfdcc0170
|
Remove default on_server_salt_updated implementation.
|
2021-09-10 16:45:39 +03:00 |
|
levlam
|
55e69f65af
|
Add separate on_update callback.
|
2021-09-10 16:31:04 +03:00 |
|
levlam
|
e6799e3054
|
Simplify rpc_error handling.
|
2021-09-10 16:12:56 +03:00 |
|
levlam
|
641f47a81c
|
Use switch instead of if.
|
2021-09-10 16:08:46 +03:00 |
|
levlam
|
5c87fb853e
|
Use int32 as sponsored message ID.
|
2021-09-10 11:44:50 +03:00 |
|
levlam
|
f63196f9fa
|
Improve URL and email matching.
|
2021-09-09 17:59:24 +03:00 |
|
levlam
|
9bf5b5343b
|
Prevent partial updateBasicGroupFullInfo.
|
2021-09-09 15:41:50 +03:00 |
|
levlam
|
3abe1edbc5
|
Improve editMessageMedia documentation.
|
2021-09-09 15:37:08 +03:00 |
|
levlam
|
b8df633f34
|
Minor include improvements.
|
2021-09-08 16:50:03 +03:00 |
|
levlam
|
cf452ce7c8
|
Support MESSAGE_NOTHEME and CHAT_MESSAGE_NOTHEME push notifications.
|
2021-09-08 14:39:39 +03:00 |
|
levlam
|
1c56e62a6a
|
Add internalLinkTypeVoiceChat.is_live_stream flag.
|
2021-09-08 13:53:24 +03:00 |
|
levlam
|
015d6cd92d
|
Support videochat/livestream internal links.
|
2021-09-08 01:50:49 +03:00 |
|
levlam
|
5bb10b4bb3
|
Cache sponsored messages.
|
2021-09-07 20:27:04 +03:00 |
|
levlam
|
8117853ea4
|
Add logging on partial update*FullInfo.
|
2021-09-07 18:20:34 +03:00 |
|
levlam
|
f59ba4b5e5
|
Avoid duplicate UserFull updates.
|
2021-09-07 18:02:03 +03:00 |
|
levlam
|
168399f21d
|
Add source to update_*_full.
|
2021-09-07 17:41:56 +03:00 |
|
levlam
|
efbb5bde96
|
Combine getSponsoredMessages queries.
|
2021-09-07 17:21:18 +03:00 |
|
levlam
|
ae6b79d57b
|
Add SponsoredMessageManager.
|
2021-09-07 15:49:34 +03:00 |
|
levlam
|
218c693910
|
Improve file size documentation.
|
2021-09-07 14:37:17 +03:00 |
|
levlam
|
192915c0bf
|
Reload chat themes at most once an hour.
|
2021-09-07 13:30:51 +03:00 |
|
levlam
|
546898e199
|
Replace SetGameScoreRequest with promise.
|
2021-09-07 12:05:44 +03:00 |
|
levlam
|
989b0c26f0
|
tg_cli: remove unused variable.
|
2021-09-07 11:40:08 +03:00 |
|
levlam
|
5c59a10418
|
Move game-related methods to GameManager.
|
2021-09-07 10:45:01 +03:00 |
|
levlam
|
d395c2496e
|
Add empty GameManager.
|
2021-09-07 10:02:44 +03:00 |
|
levlam
|
0ec10947d5
|
Fix some misprints.
|
2021-09-06 13:58:40 +03:00 |
|
levlam
|
73290dcda8
|
Reopen closed polls when copying them.
|
2021-09-05 23:11:25 +03:00 |
|
levlam
|
96ffd57881
|
Use Promise isntead of RequestOnceActor to get games high scores.
|
2021-09-05 10:54:20 +03:00 |
|
levlam
|
b713d945f7
|
tg_cli: use synchronous TDLib's method instead of Td.
|
2021-09-04 12:22:26 +03:00 |
|
levlam
|
86de43a048
|
Remove useless #include comments.
|
2021-09-03 23:21:44 +03:00 |
|
levlam
|
9ebeafbb5b
|
Add get_json_value_bool helper function.
|
2021-09-03 18:17:11 +03:00 |
|
levlam
|
9a6e8cad9e
|
Add get_json_value_string helper function.
|
2021-09-03 18:14:15 +03:00 |
|
levlam
|
1d41017d3a
|
Add get_json_value_int helper method.
|
2021-09-03 17:54:04 +03:00 |
|
levlam
|
7dffe5aabe
|
Use Promise instead of RequestActor in getBackgrounds.
|
2021-09-03 09:07:18 +03:00 |
|
levlam
|
d2f9c264ca
|
Use promise instead of RequestActor in td_api::getChatThemes.
|
2021-09-03 08:59:34 +03:00 |
|
levlam
|
db4f963a68
|
Fix via_bot_user_id in game messages forwarded by the bot itself.
|
2021-09-02 22:21:26 +03:00 |
|
levlam
|
6fad8e897f
|
Improve Game constructor.
|
2021-09-02 16:49:57 +03:00 |
|
levlam
|
895d7f68d8
|
Improve Game::is_empty method name.
|
2021-09-02 16:35:56 +03:00 |
|
levlam
|
7135caa2be
|
Update version to 1.7.7.
|
2021-09-02 12:39:05 +03:00 |
|
levlam
|
5a56ecea2a
|
Remove pessimizing std::move.
|
2021-09-02 11:28:50 +03:00 |
|
levlam
|
6beaf41231
|
Minor improvements.
|
2021-09-01 20:31:39 +03:00 |
|
levlam
|
2b980ec215
|
Remove default source from have_dialog_force.
|
2021-09-01 19:41:00 +03:00 |
|
levlam
|
b1db807868
|
Add forwardMessages.only_preview.
|
2021-08-31 23:37:21 +03:00 |
|
levlam
|
23a4c2c8a8
|
Return Message objects from send_message/forward_messages.
|
2021-08-31 22:34:46 +03:00 |
|
levlam
|
548ab8d7ee
|
Add MessagesManager::get_forwarded_messages.
|
2021-08-31 20:39:32 +03:00 |
|
levlam
|
70a9d555a0
|
Split copied and forwarded new_media_album_ids just in case.
|
2021-08-31 20:09:00 +03:00 |
|
levlam
|
87e003916c
|
Add MessagesManager::fix_forwarded_message.
|
2021-08-31 19:42:37 +03:00 |
|
levlam
|
52d605ed4d
|
Add MessagesManager::create_message_forward_info.
|
2021-08-31 19:12:24 +03:00 |
|
levlam
|
dec26260d3
|
Add const MessagesManager::create_message_to_send.
|
2021-08-31 17:26:51 +03:00 |
|
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
|
97fccf7f27
|
Fix identityDocument.reverse_side description.
|
2021-08-27 00:36:03 +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 |
|