Commit Graph

11105 Commits

Author SHA1 Message Date
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
levlam
d1a2ca9261 Disallow replies to channel stories. 2023-09-05 19:31:14 +03:00
levlam
b42781a631 Update order of channel stories when they are joined or left. 2023-09-05 19:14:40 +03:00
levlam
08fc889997 Show stories from channels in story lists. 2023-09-05 18:48:47 +03:00
levlam
e59a832e10 Use channel.stories_hidden_min flag. 2023-09-05 18:45:28 +03:00
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