Commit Graph

11434 Commits

Author SHA1 Message Date
levlam
1438e1bd88 Add td_api::reactionTypePaid. 2024-07-26 15:11:41 +03:00
levlam
3ba783158f Add td_api::editStarSubscription. 2024-07-25 23:13:00 +03:00
levlam
597805c951 Add td_api::getStarSubscriptions. 2024-07-25 22:53:45 +03:00
levlam
070675b4cd Add td_api::starSubscription. 2024-07-25 20:06:29 +03:00
levlam
9315b118e0 Add td_api::channelTransactionPurposeJoin. 2024-07-25 18:23:24 +03:00
levlam
83be2c698c Add td_api::telegramPaymentPurposeJoinChat. 2024-07-25 18:09:09 +03:00
levlam
d20a3f1552 Document that subscription links can't be edited. 2024-07-23 20:35:52 +03:00
levlam
3db3f1a4b3 Add createChatInviteLink.subscription_pricing. 2024-07-23 17:51:25 +03:00
levlam
33492e0b01 Add subscription information to chatInviteLinkInfo. 2024-07-23 17:17:36 +03:00
levlam
7ed407ec14 Add chatInviteLink.pricing. 2024-07-23 17:03:59 +03:00
levlam
1a8757aa6e Add td_api::starSubscriptionPricing. 2024-07-23 14:19:18 +03:00
levlam
86a9eb8486 Update layer to 186. 2024-07-23 14:14:34 +03:00
levlam
8324189c3a Simplify calls to get_message_object. 2024-08-12 12:43:36 +03:00
levlam
791915296a Fix source check. 2024-08-11 11:56:01 +03:00
levlam
c06ca5f287 Add expect_join_request parameter. 2024-08-10 22:20:15 +03:00
levlam
67a418a330 Remove unused user_id parameters from on_update_user_*. 2024-08-09 14:56:23 +03:00
levlam
c4f8f04482 Add clang warnings. 2024-08-08 19:38:51 +03:00
levlam
42d07bd074 Return linkPreviewTypeAlbum for all supported sites. 2024-08-07 12:08:49 +03:00
levlam
7f364a7a18 Hide Instant View for album link previews from Instagram and Twitter. 2024-08-07 11:47:37 +03:00
levlam
168a9dfc77 Improve linkPreviewTypeSticker documentation. 2024-08-07 10:02:40 +03:00
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
levlam
01ea9aa3f5 Add DialogInviteLink.hpp. 2024-07-23 15:21:17 +03:00
levlam
9ace427644 Ignore photo for linkPreviewTypeVideo with video. 2024-07-23 14:56:43 +03:00
levlam
e063a7349d Support TON sites in getExternalLinkInfo. 2024-07-23 13:01:39 +03:00
levlam
6ef62dc097 Add internal "ton_proxy_address" option. 2024-07-23 12:42:38 +03:00
levlam
2d69b77082 Fix misprint. 2024-07-23 12:41:00 +03:00
levlam
1e3ea181d4 Add "can_preload_weather" option. 2024-07-23 12:27:07 +03:00
levlam
5a01890272 Add td_api::botMediaPreview. 2024-07-23 12:15:11 +03:00
levlam
15eb2754bd Support file reference repair for bot media preview info. 2024-07-22 19:25:13 +03:00
levlam
61ce58b133 Add td_api::getBotMediaPreviewInfo. 2024-07-22 19:09:10 +03:00
levlam
3611b7a87d Fix article spelling in documentation. 2024-07-22 18:27:47 +03:00
levlam
5c771778df Fix internalLinkTypeMainWebApp. 2024-07-22 18:19:04 +03:00
levlam
a0fdd7c579 Update getWebAppUrl documentation. 2024-07-22 18:12:50 +03:00
levlam
6bcdaa57a6 Improve documentation spelling. 2024-07-22 10:32:29 +03:00
levlam
106afa050c Improve td_api::getMainWebApp. 2024-07-21 13:16:02 +03:00
levlam
6d9864a1cf Add messageProperties.need_show_statistics. 2024-07-20 21:55:41 +03:00
levlam
80b321fd9a Fix misprint. 2024-07-20 18:18:34 +03:00
levlam
eebac051cb Update has_media_previews after changing media previews. 2024-07-19 18:11:23 +03:00
levlam
bd9f33f0c1 Add botInfo.has_media_previews. 2024-07-19 18:03:07 +03:00
levlam
6d3c92c779 Add td_api::getMainWebAppUrl. 2024-07-19 17:08:34 +03:00
levlam
853301ff1c Add td_api::internalLinkTypeMainWebApp. 2024-07-19 16:43:35 +03:00
levlam
5a00eaa158 Check that bot has main Web App in preview methods. 2024-07-19 16:09:08 +03:00
levlam
a83b83432c Improve documentation of media preview methods. 2024-07-19 16:07:32 +03:00
levlam
26997e39c8 Add userTypeBot.has_main_web_app. 2024-07-19 16:03:47 +03:00
levlam
f45258eb66 Improve documentation. 2024-07-19 15:02:32 +03:00
levlam
fceb1437d7 Add td_api::reorderBotMediaPreviews. 2024-07-19 14:52:36 +03:00
levlam
1abbbc3778 Add td_api::deleteBotMediaPreviews. 2024-07-19 14:38:38 +03:00
levlam
e8b477a3e3 Add td_api::editBotMediaPreview. 2024-07-19 14:18:17 +03:00
levlam
c3ded2ade5 Add BotInfoManager::get_fake_input_media. 2024-07-18 23:50:45 +03:00
levlam
80b71e4410 Add td_api::addBotMediaPreview. 2024-07-18 23:28:08 +03:00
levlam
c53bbeaf95 Add "bot_media_preview_count_max" option. 2024-07-18 21:20:24 +03:00
levlam
cdd7af6ade Support file reference repair for bot media previews. 2024-07-18 18:32:57 +03:00
levlam
daa7c39688 Add Global::bot_info_manager(). 2024-07-18 18:06:17 +03:00
levlam
8396faa832 Add BotInfoManager::reload_bot_media_previews. 2024-07-18 17:58:54 +03:00
levlam
5a5a9a28a4 Add td_api::getBotMediaPreviews. 2024-07-18 17:54:41 +03:00
levlam
d79a350492 Add td_api::getCurrentWeather. 2024-07-17 17:54:46 +03:00
levlam
d49f86e5c2 Use continue instead of break. 2024-07-17 17:22:28 +03:00
levlam
7e8304e6d4 Use request promise in getInlineQueryResults. 2024-07-17 17:19:01 +03:00
levlam
9281efa3f0 Add internal option "weather_bot_username". 2024-07-17 16:40:12 +03:00
levlam
6d5d9a19aa Support weather story areas. 2024-07-17 16:04:52 +03:00
levlam
d26e0fab57 Support tonsite protocol. 2024-07-17 08:36:56 +03:00
levlam
5991a78334 Update list of TLDs. 2024-07-16 21:22:09 +03:00
levlam
3a528d46c8 Support chat links that open chat's profile. 2024-07-16 17:59:27 +03:00
levlam
1c3672cdc6 Add inputStoryContentVideo.main_frame_timestamp. 2024-07-16 16:34:13 +03:00
levlam
ac90866224 Add storyVideo.main_frame_timestamp. 2024-07-16 16:28:49 +03:00
levlam
ee094ea46e Add userTypeBot.active_user_count. 2024-07-16 15:41:55 +03:00
levlam
e9d2d40b53 Add td_api::getPopularWebAppBots. 2024-07-16 10:50:32 +03:00
levlam
c3f32a2090 Add td_api::topChatCategoryWebAppBots. 2024-07-16 10:25:41 +03:00
levlam
29451992ac Add messageGiftedStars.sticker. 2024-07-15 20:06:35 +03:00
levlam
008962a7e9 Add linkPreview.show_media_above_description. 2024-07-11 14:16:19 +03:00
levlam
2f3efdaa73 Add linkPreviewTypeEmbeddedAudioPlayer.thumbnail. 2024-07-11 12:42:23 +03:00
levlam
bb2b10f615 Add td_api::getStarGiftPaymentOptions. 2024-07-10 17:19:43 +03:00
levlam
aaddaab9c0 Improve Telegram Stars spelling in documentation. 2024-07-10 16:55:12 +03:00
levlam
e9b0b26f77 Add td_api::messageGiftedStars. 2024-07-10 15:27:55 +03:00
levlam
ea3de9be89 Improve messageGiftedPremium. 2024-07-10 15:20:56 +03:00
levlam
55391a5355 Add td_api::telegramPaymentPurposeGiftedStars. 2024-07-10 14:38:28 +03:00
levlam
0bacb9fac2 Add td_api::storePaymentPurposeGiftedStars. 2024-07-10 14:33:04 +03:00
levlam
8dd540ca71 Add td_api::starTransactionPartnerUser. 2024-07-10 14:23:05 +03:00
levlam
a40f104470 Add linkPreviewTypeEmbeddedVideoPlayer.thumbnail. 2024-07-10 10:45:05 +03:00
levlam
33ad5b431f Improve can_be_paid. 2024-07-09 15:24:11 +03:00
levlam
4a7d9e15c2 Improve can_be_replied. 2024-07-09 13:51:02 +03:00
levlam
773f43d67b Add separate messageProperties can_report_chat and can_report_supergroup_spam. 2024-07-09 13:50:37 +03:00
levlam
779d72e165 Fix can_be_replied. 2024-07-09 13:31:50 +03:00
levlam
f8d9205fcd Improve reportSupergroupAntiSpamFalsePositive documentation. 2024-07-09 13:16:52 +03:00
levlam
03dbbf0b04 Add messageProperties.can_be_pinned. 2024-07-09 13:11:05 +03:00
levlam
83744e728a Make "can_edit_fact_check" internal option. 2024-07-09 11:35:50 +03:00
levlam
ecd58a70ce Add messageProperties.can_set_fact_check. 2024-07-09 11:12:16 +03:00
levlam
46beb7d873 Add messageProperties.can_edit_scheduling_state. 2024-07-08 22:56:02 +03:00
levlam
250f2fda12 Add messageProperties.can_recognize_speech. 2024-07-08 22:42:41 +03:00
levlam
abb004d0de Add messageProperties.can_get_embedding_code. 2024-07-08 22:27:13 +03:00
levlam
1c921dd2b1 Improve documentation. 2024-07-08 22:13:53 +03:00
levlam
504ac111af Add messageProperties.can_get_link. 2024-07-08 21:54:55 +03:00
levlam
db62de6d3e Add messageProperties.can_be_shared_in_story. 2024-07-08 16:07:25 +03:00
levlam
2782bf1095 Add messageProperties.can_be_paid. 2024-07-08 15:38:20 +03:00
levlam
ba48f1b885 Add messageProperties.can_be_replied. 2024-07-08 15:22:14 +03:00
levlam
80467af525 Add messageProperties.can_be_reported. 2024-07-08 15:07:19 +03:00
levlam
e72f608122 Improve td_api::messageProperties documentation. 2024-07-08 14:32:46 +03:00
levlam
9006d75603 Add td_api::getMessageProperties. 2024-07-08 14:08:45 +03:00
levlam
e659ae483c Update layer to 185. 2024-07-08 13:34:56 +03:00
levlam
52618cd448 Don't mark boostChat as constant. 2024-07-26 19:02:05 +03:00
levlam
b42009a433 Improve includes. 2024-07-25 14:51:50 +03:00