Commit Graph

13293 Commits

Author SHA1 Message Date
levlam
c583fb2fcf Allow to enable paid reaction in channels. 2024-07-26 15:31:09 +03:00
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
8517e6aaef Use caps for a keyword in Dockerfile. 2024-08-13 14:32:02 +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
a91eddea2e Simplify call to set_property. 2024-08-07 08:47:46 +03:00
levlam
d4cad85882 Improve CMakeLists comments. 2024-08-07 08:46:06 +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