Commit Graph

1647 Commits

Author SHA1 Message Date
levlam
e065cce247 Move device token check to DeviceTokenManager. 2024-05-08 12:17:11 +03:00
levlam
a89be2370c Support live_period in editInlineMessageLiveLocation. 2024-05-02 16:32:44 +03:00
levlam
140c97f8ac Support live_period in edtiMessageLiveLocation. 2024-05-02 16:24:35 +03:00
levlam
420ee182fa Add td_api::addQuickReplyShortcutMessageAlbum. 2024-04-29 21:48:12 +03:00
levlam
b3ef7d3539 Add td_api::hideContactCloseBirthdays. 2024-04-26 15:16:55 +03:00
levlam
7aca38cab5 Add td_api::setChatPinnedStories. 2024-04-25 22:36:19 +03:00
levlam
882ee4f3b0 Rename pinned stories to posted to chat page stories. 2024-04-25 13:57:47 +03:00
levlam
4b078cb36c Add td_api::setReactionNotificationSettings. 2024-04-25 02:13:45 +03:00
levlam
14f31d81c5 Add td_api::toggleHasSponsoredMessagesEnabled. 2024-04-23 22:48:47 +03:00
levlam
db3f673deb Add td_api::getRecommendedChats. 2024-04-22 20:11:48 +03:00
levlam
495e578a81 Add td_api::reportPhoneNumberCodeMissing. 2024-04-22 18:50:16 +03:00
levlam
440176cd3c Add td_api::reportAuthenticationCodeMissing. 2024-04-22 18:39:16 +03:00
levlam
b359b32080 Add searchMessages.only_in_channels. 2024-04-22 16:38:30 +03:00
levlam
306aec8d6a Check app-provided contact.user_id. 2024-04-28 21:46:18 +03:00
levlam
73ccba7f0f Make remove_unallowed_quote_entities private to MessageQuote. 2024-04-25 16:30:33 +03:00
levlam
4dbb092bc1 Add td_api::editQuickReplyMessage. 2024-04-19 16:42:58 +03:00
levlam
6def37f88b Add td_api::readdQuickReplyShortcutMessages. 2024-04-18 23:45:53 +03:00
levlam
4354d4c5f4 Add td_api::addQuickReplyShortcutInlineQueryResultMessage. 2024-04-18 22:13:39 +03:00
levlam
8e99a8dba1 Add td_api::addQuickReplyShortcutMessage and support adding of quick replies without media. 2024-04-17 18:39:25 +03:00
levlam
3620b06df2 Add td_api::sendPhoneNumberFirebaseSms. 2024-04-13 20:42:41 +03:00
levlam
25958fb406 Combine phone number verification methods into a single API method. 2024-04-13 20:25:05 +03:00
levlam
99d8de1e88 Rewrite PhoneNumberManager as regular manager. 2024-04-13 19:10:52 +03:00
levlam
1c99870d6e Don't allow to directly search for greeting stickers. 2024-04-12 03:24:11 +03:00
levlam
5143d3fb6f Add td_api::getGreetingStickers. 2024-04-12 02:57:29 +03:00
levlam
1bb4a2007b Add td_api::internalLinkTypeBusinessChat. 2024-04-12 01:01:26 +03:00
levlam
1806799357 Add td_api::getBusinessChatLinkInfo. 2024-04-12 00:45:32 +03:00
levlam
9d95eb4a68 Add td_api::deleteBusinessChatLink. 2024-04-11 22:19:44 +03:00
levlam
1d77c95fb2 Add td_api::editBusinessChatLink. 2024-04-11 21:41:28 +03:00
levlam
8e35a2477c Add td_api::createBusinessChatLink. 2024-04-11 01:43:42 +03:00
levlam
c4b42c2678 Add td_api::getBusinessChatLinks. 2024-04-10 18:29:43 +03:00
levlam
023ee09714 Return failed to add chat members when adding members to a chat. 2024-04-09 17:01:51 +03:00
levlam
33073a5022 Add td_api::updateSpeedLimitNotification. 2024-04-08 20:18:48 +03:00
levlam
9e4cda7133 Rename business intro to start page. 2024-04-08 03:29:57 +03:00
levlam
4c1fa3b45d Add td_api::removeBusinessConnectedBotFromChat. 2024-04-08 03:10:33 +03:00
levlam
e7ff4688fc Add td_api::toggleBusinessConnectedBotChatIsPaused. 2024-04-07 22:45:55 +03:00
levlam
701011ab86 Add td_api::getChatRevenueWithdrawalUrl. 2024-04-05 16:41:35 +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
25574476a3 Add td_api::toggleSupergroupCanHaveSponsoredMessages. 2024-04-02 15:17:31 +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
020415f736 Various fixes. 2024-03-31 18:30:18 +03:00
levlam
a042122b7a Add source to get_chat_type_object. 2024-03-29 11:19:50 +03:00
levlam
4c14af9b52 Add td_api::getBusinessFeatures. 2024-03-29 03:17:46 +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
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