Commit Graph

10623 Commits

Author SHA1 Message Date
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
levlam
e1f7a1331d Fetch last message of the personal channel if needed. 2024-03-28 18:58:45 +03:00
levlam
877e3329fe Add userFullInfo.personal_chat_id. 2024-03-28 18:38:52 +03:00
levlam
15c3bbdef8 Add td_api::reportChatSponsoredMessage. 2024-03-28 18:24:39 +03:00
levlam
f9859493d4 Add userTypeBot.can_connect_to_business. 2024-03-28 16:29:54 +03:00
levlam
632f1aaec6 Add sponsoredMessage.can_be_reported. 2024-03-23 23:52:06 +03:00
levlam
7ea8f7085d Dismiss SetBirthdate suggested action when birthdate is set. 2024-03-23 23:41:22 +03:00
levlam
323e82d099 Improve condition for using full type name. 2024-03-22 22:55:32 +03:00
levlam
8bf00d067f Don't allow to change my_id. 2024-03-22 16:23:31 +03:00
levlam
be197d6ec3 Add source to reload_reaction_list. 2024-03-22 15:57:46 +03:00
levlam
fa8c88033a Add td_api::suggestedActionSetBirthdate. 2024-03-22 14:55:23 +03:00
levlam
e077f1dd09 Add additional request users/chat flags. 2024-03-22 14:16:49 +03:00
levlam
4e51567a8c Add RequestedDialogType::get_input_keyboard_button_request_peer. 2024-03-22 14:13:57 +03:00
levlam
21bda74636 Improve getCollectibleItemInfo documentation. 2024-03-22 12:28:06 +03:00
levlam
f7db1f1e32 Add MessageContentType::DialogShared. 2024-03-22 00:43:18 +03:00
levlam
9f0cf95027 Document that a sticker set can have up to 120 stickers. 2024-03-21 22:29:10 +03:00
levlam
35124395a4 Use sharedUser/sharedChat in messageUserShared/messageChatShared. 2024-03-21 22:00:36 +03:00
levlam
cfa47d5283 Add td_api::sharedUser/sharedChat. 2024-03-21 21:53:39 +03:00