Commit Graph

11314 Commits

Author SHA1 Message Date
levlam
81dc2e242b Call on_get_channel_error in UpdatePersonalChannelQuery. 2024-08-06 16:00:36 +03:00
levlam
b490b83e3e Fix setPersonalChat. 2024-08-06 15:34:52 +03:00
levlam
5807434c8c Schedule next processing of viewed messages only if the user is online. 2024-08-06 12:30:37 +03:00
levlam
8a0e13f440 Immediately reget paid media in newly viewed messages. 2024-08-06 12:20:25 +03:00
levlam
62642f83d5 Simplify editing of story media areas. 2024-08-05 09:45:04 +03:00
levlam
9308005d6b tg_cli: add and use as_file_ids. 2024-08-04 00:15:50 +03:00
levlam
024d21e7fd Remove unused parameter of get_story_content_any_file_id. 2024-08-03 21:59:11 +03:00
levlam
a0d0b66164 Add get_individual_message_contents. 2024-08-02 13:53:16 +03:00
levlam
2c6d9a000f Fix includes. 2024-08-01 21:33:52 +03:00
levlam
09fa7e719d Init OnlineManager early, 2024-08-01 21:14:35 +03:00
levlam
0e1d319f8a Move online status handling to OnlineManager. 2024-08-01 21:08:01 +03:00
levlam
27d1bd54dd Add OnlineManager. 2024-08-01 16:07:38 +03:00
levlam
ccb1af5627 Improve includes. 2024-08-01 15:07:35 +03:00
levlam
86d6be1c59 Move connection state management to ConnectionStateManager. 2024-08-01 14:53:24 +03:00
levlam
7ce682984c Add ConnectionStateManager. 2024-08-01 14:40:12 +03:00
levlam
05325437e8 Move promo data polling to PromoDataManager. 2024-08-01 14:13:48 +03:00
levlam
d63ef82e5d Add PromoDataManager. 2024-08-01 13:57:39 +03:00
levlam
2adad66847 Add TermsOfService.hpp. 2024-08-01 13:33:24 +03:00
levlam
3589cee782 Move get_terms_of_service_object implementation to cpp. 2024-08-01 13:24:05 +03:00
levlam
9ec4b5544f Add TermsOfServiceManager::on_accept_terms_of_service. 2024-08-01 13:20:11 +03:00
levlam
34a27ad27a Move terms of service polling to TermsOfServiceManager. 2024-08-01 13:11:59 +03:00
levlam
307e934d5e Move requests to TermsOfServiceManager. 2024-08-01 11:19:52 +03:00
levlam
01755c8fea Add TermsOfServiceManager. 2024-08-01 11:13:11 +03:00
levlam
78f6dccb00 Move as_db_key to TdDb. 2024-08-01 10:23:18 +03:00
levlam
1880382e63 Simplify Td::run_request. 2024-08-01 07:42:23 +03:00
levlam
a24af09922 Add Td::do_run_request. 2024-08-01 00:29:48 +03:00
levlam
98a2dc2a45 Improve includes. 2024-07-31 17:34:55 +03:00
levlam
4d250ff829 Move synchronous request implementations to a separate file. 2024-07-31 17:26:17 +03:00
levlam
a0487d4acd Move testProxy implementation to ConnectionCreator. 2024-07-31 16:56:49 +03:00
levlam
c8b5ecce6c Don't warn about is_slow_mode_enabled for old channels. 2024-07-31 14:18:05 +03:00
levlam
1fa2a372a8 Update version to 1.8.34. 2024-07-30 15:18:28 +03:00
levlam
9c1889c67d Add starTransactionPartnerUser.sticker. 2024-07-30 15:18:06 +03:00
levlam
0df820d4d3 Remove StickersManager::get_premium_gift_option_sticker. 2024-07-30 15:06:50 +03:00
levlam
320cdbcc31 Add StickersManager::load_premium_gift_sticker_set. 2024-07-30 15:04:44 +03:00
levlam
e860c0bf46 Improve starTransactionPartnerBot. 2024-07-30 14:42:55 +03:00
levlam
de8dbf00b4 Move get_months_by_star_count to StarManager. 2024-07-30 13:51:53 +03:00
levlam
f2d5a2e3bf Ignore updates from business connection. 2024-07-30 13:25:26 +03:00
levlam
2c8aadc7b7 Remove unneeded article before chronological. 2024-07-30 11:12:45 +03:00
levlam
d5068c3f55 Add td_api::setBusinessMessageIsPinned. 2024-07-29 20:33:02 +03:00
levlam
c1ce0ed165 Improve documentation. 2024-07-29 20:03:40 +03:00
levlam
fa4c3082b1 Support embedded animations. 2024-07-29 15:37:21 +03:00
levlam
65057a9802 Add width and height to linkPreviewTypeEmbeddedAudioPlayer. 2024-07-28 22:06:46 +03:00
levlam
4d67813e67 Minor improvements. 2024-07-28 10:06:53 +03:00
levlam
ae492255dc Simplify messageGiftedPremium/messageGiftedStars. 2024-07-27 23:28:25 +03:00
levlam
1348723205 Support file reference repair when edit story cover. 2024-07-27 23:02:29 +03:00
levlam
1f29dc7b97 Add td_api::editStoryCover. 2024-07-27 22:39:44 +03:00
levlam
f6e97f83a6 Rename main_frame_timestamp to cover_frame_timestamp. 2024-07-27 21:13:49 +03:00
levlam
536893f50b Add "can_gift_stars" option. 2024-07-26 18:48:38 +03:00
levlam
2844988d1f Improve inputStoryAreas documentation. 2024-07-25 14:03:21 +03:00
levlam
9709968751 Add BotInfoManager::validate_bot_media_preview_language_code. 2024-07-23 19:34:12 +03:00