Commit Graph

1601 Commits

Author SHA1 Message Date
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
15c3bbdef8 Add td_api::reportChatSponsoredMessage. 2024-03-28 18:24:39 +03:00
levlam
f361989c05 Add td_api::setBirthdate. 2024-03-21 14:04:40 +03:00
levlam
f7ab032976 Add td_api::getCollectibleItemInfo. 2024-03-20 17:55:27 +03:00
levlam
22d2f6a98d Add td_api::getOwnedStickerSets. 2024-03-20 15:41:49 +03:00
levlam
fad7d022fb Add td_api::replaceStickerInSet. 2024-03-20 13:49:01 +03:00
levlam
188a165938 Add td_api::setBusinessIntro. 2024-03-19 14:52:52 +03:00
levlam
facb3a43e5 Support updateBusinessConnection in getCurrentState. 2024-03-18 22:01:50 +03:00
levlam
6306a595d8 Allow methods for sticker set management for regular users. 2024-03-15 23:47:55 +03:00
levlam
9c7e0f6b22 Move sticker_format to inputSticker. 2024-03-15 21:08:30 +03:00
levlam
74b62ccbf4 Add td_api::sendBusinessMessageAlbum. 2024-03-13 17:44:00 +03:00
levlam
0f98e748a8 Add td_api::sendBusinessMessage. 2024-03-11 21:27:16 +03:00
levlam
e6b9f2eb07 Support sendChatAction for business connections. 2024-03-07 23:05:58 +03:00
levlam
c2130b3d3b Ensure that business connections are created only for bots. 2024-03-07 22:49:23 +03:00
levlam
967829d14b Add class BusinessConnectionId. 2024-03-07 20:18:04 +03:00
levlam
f78a0e4326 Add td_api::getBusinessConnection. 2024-03-07 18:02:30 +03:00
levlam
bb683c2988 Add empty BusinessConnectionManager. 2024-03-07 15:44:15 +03:00
levlam
5a00fb2ba3 Move migrate_dialog_to_megagroup to DialogManager. 2024-03-16 21:47:42 +03:00
levlam
2f2dbc30cd Move some methods to ChannelRecommendationManager. 2024-03-13 15:40:19 +03:00
levlam
407bb811b3 Add ChannelRecommendationManager. 2024-03-13 14:06:14 +03:00
levlam
2c61318a11 Move some methods to PeopleNearbyManager. 2024-03-11 01:42:08 +03:00
levlam
1e6c1dbb12 Add empty PeopleNearbyManager. 2024-03-11 01:08:29 +03:00
levlam
046ed45152 Various fixes. 2024-03-07 14:09:31 +03:00
levlam
bd97e81c32 Add td_api::sendQuickReplyShortcutMessages. 2024-03-05 13:08:26 +03:00
levlam
f43ba61252 Add td_api::deleteBusinessConnectedBot. 2024-03-04 18:17:57 +03:00
levlam
84ecc89d20 Add td_api::setBusinessConnectedBot. 2024-03-04 17:59:29 +03:00
levlam
d56025f609 Add td_api::getBusinessConnectedBot. 2024-03-04 17:17:10 +03:00
levlam
261a3d0c22 Move business info setters to BusinessManager. 2024-03-04 16:57:36 +03:00
levlam
e78c0aa360 Add empty BusinessManager. 2024-03-04 16:39:30 +03:00
levlam
f03bdc7e50 Add td_api::setQuickReplyShortcutName. 2024-03-04 15:00:00 +03:00
levlam
74c5ba7087 Add td_api::checkQuickReplyShortcutName. 2024-03-04 14:34:47 +03:00
levlam
f726ca930b Add td_api::toggleChatFolderTags. 2024-03-01 19:28:32 +03:00
levlam
de6f15c973 Add td_api::deleteQuickReplyShortcutMessages. 2024-02-29 21:34:45 +03:00
levlam
3b62a65bea Add td_api::loadQuickReplyShortcutMessages instead of getQuickReplyShortcutMessages. 2024-02-29 16:05:16 +03:00
levlam
aeea69e674 Add td_api::getQuickReplyShortcutMessages. 2024-02-28 17:19:28 +03:00
levlam
f13f409e5f Send shortcut identifiers in updates and receive them in requests. 2024-02-27 18:10:11 +03:00
levlam
7b257b4def Rename work hours to opening hours. 2024-02-27 16:03:34 +03:00
levlam
50ba48fbfa Add td_api::setBusinessGreetingMessageSettings. 2024-02-27 14:26:19 +03:00
levlam
66761d1950 Add td_api::setBusinessAwayMessageSettings. 2024-02-27 14:18:56 +03:00
levlam
693bb5f09e Add td_api::reorderQuickReplyShortcuts. 2024-02-24 14:40:25 +03:00
levlam
44366bd208 Add td_api::deleteQuickReplyShortcut. 2024-02-24 03:02:42 +03:00
levlam
1d76beadeb Replace getQuickReplyShortcuts with loadQuickReplyShortcuts. 2024-02-22 23:04:36 +03:00
levlam
d813b5c438 Support updateQuickReplyShortcut in getCurrentState. 2024-02-22 21:26:17 +03:00
levlam
96ddf0441c Add td_api::getQuickReplyShortcuts. 2024-02-22 17:32:12 +03:00
levlam
094066eceb Add QuickReplyManager. 2024-02-21 20:43:55 +03:00
levlam
5097989a4d Add td_api::setBusinessWorkHours. 2024-02-20 15:55:17 +03:00
levlam
8d9edcb31d Add td_api::setBusinessLocation. 2024-02-20 12:49:30 +03:00
levlam
ab1b7cf20f Add td_api::getTimeZones. 2024-02-19 22:12:28 +03:00
levlam
552e6ba35a Add TimeZoneManager. 2024-02-19 14:34:28 +03:00
levlam
22d9c86b57 Move get_channel_participants to DialogParticipantManager. 2024-03-03 01:22:49 +03:00
levlam
465fdd8505 Move search_dialog_participants to DialogParticipantManager. 2024-03-02 02:02:01 +03:00
levlam
555aa71f59 Move chat ownership transfer to DialogParticipantManager. 2024-02-26 14:14:54 +03:00
levlam
fe749cfb9b Add DialogManager::set_dialog_location. 2024-02-20 00:43:04 +03:00
levlam
e12b13bbb0 Keep reference to Td in TdDb::open to ensure that it isn't closed completely in the meanwhile. 2024-02-15 19:45:27 +03:00
levlam
52c27fef85 Remove redundant logging. 2024-02-14 13:56:18 +03:00
levlam
0dc90cf820 Remove chat identifier from setStoryPrivacySettings. 2024-02-13 13:13:41 +03:00
levlam
46f076f47c Add td_api::setSupergroupUnrestrictBoostCount. 2024-02-12 17:42:35 +03:00
levlam
81f959be99 Support supergroups in getChatBoostFeatures, 2024-02-11 01:29:07 +03:00
levlam
42784587ad Support custom emoji sticker set in supergroups. 2024-02-08 15:02:04 +03:00
levlam
121461561e Add and use SavedMessagesManager::get_topic_ids. 2024-02-07 14:59:24 +03:00
levlam
f28d40605a Improve Saved Messages topic API and naming. 2024-02-07 14:01:29 +03:00
levlam
6cd6242931 Add td_api::loadSavedMessagesTopics instead of server-side topic load methods. 2024-02-07 12:30:34 +03:00
levlam
0baa1424f9 Add updateSavedMessagesTopic and more fields about the topic. 2024-02-06 01:21:55 +03:00
levlam
7267e1e89c Move Saved Messages-specific functions to SavedMessagesManager. 2024-02-04 23:06:48 +03:00
levlam
1eb8c22f75 Add empty SavedMessagesManager. 2024-02-04 12:41:53 +03:00
levlam
d120d0ab66 Set close_flag before clearing requests. 2024-02-01 14:59:55 +03:00
levlam
f11c4e8af4 Add searchSavedMessages.saved_messages_topic. 2024-02-01 13:09:01 +03:00
levlam
930a3ccdca Support Saved Messages tags in topics. 2024-01-29 19:11:14 +03:00
levlam
2a8156a1bc Add registerUser.disable_notification. 2024-01-29 16:43:42 +03:00
levlam
acec5146ec Close asynchronously opened database if instance was closed in the meanwhile. 2024-02-01 01:46:34 +03:00
levlam
34935ca4b6 Reopen and reinit session when receive a failed to parse update by a bot. 2024-01-29 00:18:40 +03:00
levlam
8c02d57443 Don't try to get name of an empty actor. 2024-01-27 13:27:55 +03:00
levlam
aa6be7d9bf Add canSendMessageToUser.only_local. 2024-01-26 14:06:27 +03:00
levlam
c95cb5d75c Minor imrovements. 2024-01-25 20:06:07 +03:00
levlam
94141a18dd Make canSendMessageToUser response strongly typed. 2024-01-19 22:14:03 +03:00
levlam
0a6207700d Use GetIsPremiumRequiredToContactQuery to check unknown users. 2024-01-19 21:55:24 +03:00
levlam
5624f91155 Add td_api::canSendMessageToUser. 2024-01-19 15:35:57 +03:00
levlam
c8e4622da4 Add td_api::newChatPrivacySettings and methods for getting and setting it. 2024-01-19 14:25:24 +03:00
levlam
2504de4978 Add td_api::setReadDatePrivacySettings. 2024-01-09 17:56:47 +03:00
levlam
252ca3135c Add td_api::getReadDatePrivacySettings. 2024-01-09 17:11:22 +03:00
levlam
9802119ff7 Return GlobalPrivacySettings from get_global_privacy_settings. 2024-01-09 15:14:45 +03:00
levlam
5fb64e7ccd Add td_api::getMessageReadDate. 2024-01-09 13:37:29 +03:00
levlam
956c35d6e0 Add td_api::setSavedMessagesTagLabel. 2024-01-23 19:04:31 +03:00
levlam
9df2ba6e64 Add td_api::getSavedMessagesTags. 2024-01-23 16:01:27 +03:00
levlam
e6611cdb8f Add td_api::searchSavedMessages. 2024-01-22 21:14:02 +03:00
levlam
20c4815a12 Add td_api::setPinnedSavedMessagesTopics. 2024-01-18 19:38:26 +03:00
levlam
af43242ca7 Add td_api::toggleSavedMessagesTopicIsPinned. 2024-01-18 19:22:31 +03:00
levlam
788d169e69 Add td_api::deleteSavedMessagesTopicMessagesByDate. 2024-01-18 17:29:09 +03:00
levlam
5002f25c0a Add td_api::getSavedMessagesTopicMessageByDate. 2024-01-18 16:45:45 +03:00
levlam
93370af38d Add td_api::deleteSavedMessagesTopicHistory. 2024-01-16 22:42:43 +03:00
levlam
40f8bffec8 Add td_api::getSavedMessagesTopicHistory. 2024-01-16 19:19:38 +03:00
levlam
d9f2fe57a6 Add td_api::getPinnedSavedMessagesTopics. 2024-01-16 17:32:11 +03:00
levlam
79a66c06cc Add td_api::getSavedMessagesTopics. 2024-01-16 16:26:58 +03:00
levlam
16fc47fb88 Add getChatSparseMessagePositions.saved_messages_topic. 2024-01-16 14:12:57 +03:00
levlam
f76c384f90 Add getChatMessageCalendar.saved_messages_topic. 2024-01-16 14:00:14 +03:00
levlam
8f019eeb73 Add getChatMessageCount.saved_messages_topic. 2024-01-16 00:30:37 +03:00
levlam
3eba7d4f2b Add getChatMessagePosition.saved_messages_topic. 2024-01-15 20:39:47 +03:00
levlam
7d71562a24 Add searchChatMessages.saved_messages_topic_id. 2024-01-15 19:43:03 +03:00
levlam
2ff1a93d5b Add td_api::cancelRecoveryEmailAddressVerification. 2024-01-11 14:51:29 +03:00