Commit Graph

10640 Commits

Author SHA1 Message Date
levlam
a760e92cf3 Fix misprint by @zevlg. 2024-04-05 19:10:59 +03:00
levlam
5ea94725d7 Add "can_withdraw_channel_revenue" option. 2024-04-05 17:26:18 +03:00
levlam
701011ab86 Add td_api::getChatRevenueWithdrawalUrl. 2024-04-05 16:41:35 +03:00
levlam
baa7fe8598 Add td_api::ChatRevenueWithdrawalState. 2024-04-05 15:59:54 +03:00
levlam
5f1938906e Add td_api::ChatRevenueTransactionType. 2024-04-05 15:45:33 +03:00
levlam
4f65363ef8 Add td_api::getChatRevenueTransactions. 2024-04-04 13:55:24 +03:00
levlam
520062085d Add td_api::getChatRevenueStatistics. 2024-04-03 16:49:51 +03:00
levlam
6848380bb7 Add supergroupFullInfo.can_get_revenue. 2024-04-03 05:13:19 +03:00
levlam
cfadebfab4 tg_cli: reduce if-else chain length. 2024-04-02 22:46:15 +03:00
levlam
6cd0e7e5aa Allow checkChatUsername for self without chat with self. 2024-04-02 22:31:37 +03:00
levlam
006be4d564 Reload contact birthdays only if mutual contact changes. 2024-04-02 22:27:53 +03:00
levlam
844d7a505a Add callStateReady.custom_parameters. 2024-04-02 15:22:19 +03:00
levlam
25574476a3 Add td_api::toggleSupergroupCanHaveSponsoredMessages. 2024-04-02 15:17:31 +03:00
levlam
2bec18d95d Add disable sponsored messages boost feature. 2024-04-02 14:49:26 +03:00
levlam
67d42c5e14 Add internal option "channel_restrict_sponsored_level_min". 2024-04-02 14:36:38 +03:00
levlam
b987e84d54 Add supergroupFullInfo.can_have_sponsored_messages. 2024-04-02 14:32:00 +03:00
levlam
bd8c6be0cd Rename rest of ContactsManager to ChatManager. 2024-04-02 13:06:22 +03:00
levlam
9482eb6ede Return back call to UserManager::get_current_state. 2024-04-02 04:13:51 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
6010475d26 Add empty UserManager. 2024-04-01 15:05:02 +03:00
levlam
efc6bd553b Update version to 1.8.27. 2024-03-31 19:24:45 +03:00
levlam
cd25b29452 Fix SharedDialog. 2024-03-31 19:24:00 +03:00
levlam
0b4f0b1657 Destroy business_connections_ asynchronously. 2024-03-31 18:40:09 +03:00
levlam
5bc00fa834 Fix source. 2024-03-31 18:34:25 +03:00
levlam
020415f736 Various fixes. 2024-03-31 18:30:18 +03:00
levlam
f577c1564e Fix GCC compilation error. 2024-03-31 04:10:28 +03:00
levlam
bdbf9adb17 Save and load suggested actions to and from binlog. 2024-03-31 01:10:26 +03:00
levlam
3cbe6c494e Add parser/storer for SuggestedAction. 2024-03-31 00:35:02 +03:00
levlam
7266a0e3b8 Improve documentation. 2024-03-30 14:04:25 +03:00
levlam
0a21620194 Remove extract_group_invite_privacy_forbidden_updates. 2024-03-30 02:56:24 +03:00
levlam
cfeed162e9 Add updateContactCloseBirthdays. 2024-03-29 22:29:37 +03:00
levlam
e9794b9215 Reget config after account phone number is changed. 2024-03-29 17:37:44 +03:00
levlam
fd1d1dbb6c Add "can_set_new_chat_privacy_settings" option. 2024-03-29 16:51:53 +03:00
levlam
2930b87c86 Update "can_use_text_entities_in_story_caption" with other Premium options. 2024-03-29 16:31:49 +03:00
levlam
c3de12ec17 Improve documentation for duration fields. 2024-03-29 15:53:46 +03:00
levlam
25f87a39ac Improve custom emoji checks and business messages processing. 2024-03-29 15:52:03 +03:00
levlam
b741472942 Add td_api::businessFeaturePromotionAnimation. 2024-03-29 13:31:47 +03:00
levlam
260b9cdf9e Add td_api::premiumFeatureBusiness. 2024-03-29 11:28:48 +03:00
levlam
e5d7108f1a Log unsupported premium features. 2024-03-29 11:25:06 +03:00
levlam
a042122b7a Add source to get_chat_type_object. 2024-03-29 11:19:50 +03:00
levlam
ba89fef472 Add td_api::premiumSourceBusinessFeature. 2024-03-29 03:20:56 +03:00
levlam
4c14af9b52 Add td_api::getBusinessFeatures. 2024-03-29 03:17:46 +03:00
levlam
e895a46ed5 Add "business_features" internal option. 2024-03-29 01:14:59 +03:00
levlam
01b7a0e14b Add td_api::setPersonalChat. 2024-03-29 00:46:05 +03:00
levlam
66522165ca Add td_api::getSuitablePersonalChats. 2024-03-29 00:12:54 +03:00
levlam
93663c2542 Improve maintaining of created public broadcasts. 2024-03-28 23:56:06 +03:00
levlam
d7f7a6d87b Add PublicDialogType::ForPersonalDialog. 2024-03-28 23:39:26 +03:00
levlam
6121755719 Fix video note length check. 2024-03-28 23:22:21 +03:00
levlam
98033937cc Explicitly specify 'template ' for fetch_string. 2024-03-28 20:03:31 +03:00
levlam
a9d5078f66 Increase MessageUnsupported version. 2024-03-28 19:11:27 +03:00