Commit Graph

11511 Commits

Author SHA1 Message Date
levlam
b4f6e716ac Add source to get_(chat|channel|secret_chat)_force. 2023-09-21 18:56:13 +03:00
levlam
dc4b5aad51 Return nothing from RawConnection::send_no_crypto. 2023-09-21 17:56:21 +03:00
levlam
b44e2ea3fc Add strictly-typed class mtproto::MessageId. 2023-09-21 17:52:33 +03:00
levlam
e47cea5904 Improve SessionConnection::ServiceQuery. 2023-09-21 16:52:21 +03:00
levlam
5334cc8e10 Improve types of vectors in SessionConnection. 2023-09-21 16:47:12 +03:00
levlam
7e65c3d4dd Improve message_id-parameter names. 2023-09-21 16:09:19 +03:00
levlam
1cd71efb03 Improve "container_message_id" variable names. 2023-09-21 15:44:26 +03:00
levlam
ec44b3d16c Improve "invoke_after_message_id" variable names. 2023-09-21 15:40:56 +03:00
levlam
c8e46cae53 Improve method names. 2023-09-21 14:53:33 +03:00
levlam
11c78406c3 Explicitly check returned errors. 2023-09-21 14:47:17 +03:00
levlam
d0d8d74c3e Remove checks out of DownloadManager::remove_file_impl. 2023-09-21 14:37:09 +03:00
levlam
782fc0964f Improve function name. 2023-09-21 14:18:12 +03:00
levlam
a2c8aa7165 Update channel participant count when receiving boost status. 2023-09-21 14:05:40 +03:00
levlam
e3bdd30d91 Improve documentation. 2023-09-20 21:31:02 +03:00
levlam
8fb3fca841 Improve error logging for banned accounts. 2023-09-20 21:28:23 +03:00
levlam
67cf6d7fe5 Don't log not found chats in load_dialogs. 2023-09-20 20:44:21 +03:00
levlam
606ee063d5 Don't try to load recent chats from database right after the database was deleted. 2023-09-20 20:40:34 +03:00
levlam
246f2ca42f Recheck received from the server channels. 2023-09-20 20:34:21 +03:00
levlam
036f37fe43 Simplify ContactsManager::update_created_public_channels. 2023-09-20 19:53:42 +03:00
levlam
154b2cb315 Recheck loaded from database channels. 2023-09-20 19:51:17 +03:00
levlam
cc1b01620b Drop cached channel lists when dialog database is recreated. 2023-09-20 19:09:51 +03:00
levlam
cd7d960ba4 Cache chats to send stories. 2023-09-20 19:07:51 +03:00
levlam
82c702c16d Minor improvements. 2023-09-19 21:59:14 +03:00
levlam
597563b0d4 Make Statistics conversion functions private. 2023-09-19 21:45:22 +03:00
levlam
be63c46992 Move statistics related functions to StatisticsManager. 2023-09-19 21:40:29 +03:00
levlam
d1dae35b85 Add empty StatisticsManager. 2023-09-19 21:24:19 +03:00
levlam
0e56b7e527 Clamp percentage value. 2023-09-19 21:15:10 +03:00
levlam
518f11f40a Log message identifiers as hex numbers. 2023-09-19 21:10:11 +03:00
levlam
6dbec3fda7 Use td_api::error in td_api::updateStorySendFailed. 2023-09-19 19:13:45 +03:00
levlam
6b17c0fdec Use error object in td_api::messageSendingStateFailed/updateMessageSendFailed. 2023-09-19 19:04:56 +03:00
levlam
a19d49a107 Ignore interaction info/chosen reaction updates while having a pending story reaction. 2023-09-19 18:40:15 +03:00
levlam
84e1d5ff1f Add StoryManager::on_story_chosen_reaction_changed. 2023-09-19 14:41:31 +03:00
levlam
48607e18b5 Locally update reaction counts when changing story reaction. 2023-09-19 13:42:13 +03:00
levlam
5a19de8faa Add storyAreaTypeSuggestedReaction.total_count. 2023-09-19 13:09:59 +03:00
levlam
fde0c8a0b1 Add storyInteractionInfo.forward_count. 2023-09-18 22:00:38 +03:00
levlam
118358508a Update default premium feature order. 2023-09-18 20:22:09 +03:00
levlam
6cb1f8fb96 Add td_api::premiumFeatureChatBoost. 2023-09-18 19:57:48 +03:00
levlam
0f7193172b Add premiumLimitTypeStorySuggestedReactionAreaCount. 2023-09-18 19:47:34 +03:00
levlam
583168767d Add td_api::getChatBoosts. 2023-09-16 12:22:11 +03:00
levlam
9a9cf8c48d Improve internalLinkTypeChatBoost description. 2023-09-15 19:18:57 +03:00
levlam
469be958f2 Add td_api::getChatBoostLinkInfo. 2023-09-15 19:07:18 +03:00
levlam
069f8607df Add td_api::getChatBoostLink. 2023-09-15 16:37:17 +03:00
levlam
714397da80 Add td_api::internalLinkTypeChatBoost. 2023-09-15 16:24:26 +03:00
levlam
8230efb97f Add td_api::boostChat. 2023-09-15 15:11:37 +03:00
levlam
97db1de2c1 Add td_api::canBoostChat. 2023-09-15 15:00:02 +03:00
levlam
e2462e2487 Add td_api::canSendStoryResultBoostNeeded. 2023-09-14 20:04:59 +03:00
levlam
c120b5ef19 Add td_api::getChatsToSendStories. 2023-09-14 18:59:30 +03:00
levlam
7605812d2c Add td_api::getChatBoostStatus. 2023-09-12 18:37:32 +03:00
levlam
0ab5ab00ea tg_cli: add logf. 2023-09-12 17:34:12 +03:00
levlam
1558edd3dd Support Terms of Service for non-recurring payments. 2023-09-12 17:30:17 +03:00