Commit Graph

1404 Commits

Author SHA1 Message Date
levlam
63ba72dce4 Add editStory.areas. 2023-08-01 20:37:37 +03:00
levlam
f72ac41756 Add sendStory.areas. 2023-08-01 19:07:13 +03:00
levlam
ec6c36e578 Add getBlockedMessageSenders.block_list. 2023-07-28 17:52:44 +03:00
levlam
3794e65b76 Add td_api::BlockList. 2023-07-28 17:33:47 +03:00
levlam
ce679e7b78 Move default reaction handling to ReactionManager. 2023-08-09 13:19:54 +03:00
levlam
9dcfd9d66d Add ReactionManager and move there all reaction-related methods from StickersManager. 2023-08-09 12:59:48 +03:00
levlam
dabefc83fa Fix use_sqlite_pmc check. 2023-08-06 14:37:51 +03:00
levlam
ced8764663 Move binlog handling to slow net scheduler if there is no SQLite database. 2023-08-06 14:29:43 +03:00
levlam
830da27abf Minor improvements. 2023-08-05 15:31:42 +03:00
levlam
5558825d61 Add class ReactionType. 2023-08-04 18:39:07 +03:00
levlam
32043df840 Parse updates in another thread. 2023-07-27 12:52:29 +03:00
levlam
06731d965d Move get_database_scheduler_id to Global. 2023-07-26 13:05:34 +03:00
levlam
fc97956447 Add td_api::StoryPrivacySettings. 2023-07-18 16:00:06 +03:00
levlam
0181baf1ad Add td_api::setArchiveChatListSettings. 2023-07-14 15:25:32 +03:00
levlam
e067160876 Add td_api::getArchiveChatListSettings. 2023-07-14 14:54:35 +03:00
levlam
b9473decc2 Always list actor_id first in lambda capture. 2023-07-11 17:53:43 +03:00
levlam
4b3de26c0c Add getStory.only_local. 2023-07-11 12:29:10 +03:00
levlam
39b84d89ea Improve method setChatActiveStoriesList name. 2023-07-08 16:53:29 +03:00
levlam
a1038bb20c Add class StoryListId. 2023-07-08 15:42:23 +03:00
levlam
bf3f1c33ae Return updateChatActiveStories in getCurrentState. 2023-07-07 16:18:18 +03:00
levlam
5130ec7760 Add emojiStatus.expiration_date. 2023-07-06 20:14:42 +03:00
levlam
5c3bbc7bb9 Add getStoryNotificationSettingsExceptions. 2023-07-06 19:15:00 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
6702a001f0 Remove unused api.hpp includes. 2023-07-01 12:20:39 +03:00
levlam
b8849a2f81 Add td_api::loadActiveStories. 2023-06-29 14:22:50 +03:00
levlam
5fd1d06948 Improve method names. 2023-06-27 22:45:01 +03:00
levlam
5e9d98abce Improve td_api::toggleChatStoriesAreHidden and remove User.stories_are_hidden. 2023-06-27 22:40:34 +03:00
levlam
d3e0372b14 Use Chat as owner of stories in td_api. 2023-06-27 21:51:36 +03:00
levlam
47d30cc7dc Add sendStory.protect_content. 2023-06-27 17:19:10 +03:00
levlam
b8bccde43c Improve method and field names. 2023-06-23 19:00:34 +03:00
levlam
26c8c0f4fa Add td_api::reportStory. 2023-06-21 23:23:19 +03:00
levlam
2ea17ff61a Add td_api::getStoryViewers. 2023-06-18 23:25:50 +03:00
levlam
37e5847cc3 Add td_api::closeStory and register opened owned stories. 2023-06-15 18:34:05 +03:00
levlam
e040b63fd8 Add td_api::openStory. 2023-06-14 15:17:24 +03:00
levlam
3938aea03b Improve method name. 2023-06-12 16:10:56 +03:00
levlam
20901b6ac5 Add td_api::getArchivedStories. 2023-06-09 17:21:34 +03:00
levlam
894e246d8f Add sendStory.active_period. 2023-06-09 16:41:40 +03:00
levlam
fa94abaccb Allow to reply stories. 2023-06-08 17:27:24 +03:00
levlam
2fcdb02c39 Add td_api::getStory. 2023-06-05 16:55:06 +03:00
levlam
11c353dc7f Add td_api::toggleUserStoriesAreArchived. 2023-06-05 16:07:44 +03:00
levlam
7ca2061848 Add DeleteStoryOnServerLogEvent. 2023-06-01 17:41:46 +03:00
levlam
d929790bad Add td_api::deleteStory. 2023-06-01 17:28:49 +03:00
levlam
3a6494dd65 Add td_api::editStory. 2023-05-30 14:41:36 +03:00
levlam
77ab0f45c1 Add td_api::toggleStoryIsPinned. 2023-05-26 14:21:36 +03:00
levlam
eb1581a233 Add td_api::setStoryPrivacyRules. 2023-05-25 18:18:28 +03:00
levlam
c73ae5c781 Add td_api::sendStory. 2023-05-25 15:03:29 +03:00
levlam
a049076797 Add td_api::getUserExpiringStories. 2023-05-21 12:39:53 +03:00
levlam
e763cb2803 Add td_api::getUserPinnedStories. 2023-05-20 23:24:36 +03:00
levlam
88620d1347 Add G()->story_manager(). 2023-05-19 16:20:19 +03:00
levlam
a05940b705 Make PrivacyManager an ordinary manager. 2023-05-08 15:23:57 +03:00
levlam
161cc91acf Add td_api::setCloseFriends. 2023-05-04 18:27:03 +03:00
levlam
fb57555f3d Add td_api::getCloseFriends. 2023-05-03 20:42:47 +03:00
levlam
b0ab122d91 Add StoryManager. 2023-05-01 22:19:16 +03:00
levlam
24d012bc73 Add td_api::searchRecentlyFoundChat. 2023-05-16 21:41:19 +03:00
levlam
1a5f81163d Add td_api::clickSponsoredMessage. 2023-05-04 17:21:50 +03:00
levlam
ac81a35283 Add td_api::getChatFolderChatCount. 2023-05-01 14:57:16 +03:00
levlam
29c0004bfd Automatically send screenshot notification messages. 2023-04-30 16:00:20 +03:00
levlam
44d2b0af1e Fix method name. 2023-04-29 22:27:31 +03:00
levlam
38efb6d673 Support MessageSenders as poll voters. 2023-04-25 16:41:04 +03:00
levlam
5a59c933fb Add missing semicolons after CHECK. 2023-05-22 19:31:58 +03:00
levlam
de22159b7f Don't keep exact remote location for bots. 2023-05-10 15:29:38 +03:00
levlam
27c3064c56 Remove DialogFilterManager::hide_dialog_filter_new_chats. 2023-04-19 10:18:40 +03:00
levlam
9263db3146 Move bot-related methods to BotInfoManager. 2023-04-16 23:25:52 +03:00
levlam
4f916a4d8e Add BotInfoManager. 2023-04-16 23:12:28 +03:00
levlam
cfe57dbd60 Add td_api::readChatList. 2023-04-14 15:17:25 +03:00
levlam
598ba5422f Add MessagesManager::get_chat_ids_object. 2023-04-14 13:38:25 +03:00
levlam
19502cbe15 Remove separate td_api::hideChatFolderNewChats. 2023-04-12 01:52:36 +03:00
levlam
b4d6b68195 Replace dark_theme_brightness with dark_theme_dimming. 2023-04-12 00:59:53 +03:00
levlam
b130306ce7 Add td_api::setChatBackground. 2023-04-11 17:46:55 +03:00
levlam
a52b6f025f Add td_api::getChatsForChatFolderInviteLink. 2023-04-09 21:54:40 +03:00
levlam
d6b53d61fc Use request promise in td_api::getChatFolder. 2023-04-09 01:35:42 +03:00
levlam
f431c8ba5a Add td_api::hideChatFolderNewChats. 2023-04-05 19:43:58 +03:00
levlam
758926bbed Add td_api::addChatFolderNewChats. 2023-04-04 16:35:31 +03:00
levlam
e6cc743c33 Add td_api::getChatFolderNewChats. 2023-04-04 16:21:31 +03:00
levlam
241021ae83 Rename chat filters to chat folders. 2023-04-03 17:28:51 +03:00
levlam
6198a6a842 Add td_api::getChatFilterChatsToLeave. 2023-04-02 12:40:57 +03:00
levlam
4bf49b246f Add deleteChatFilter.leave_chat_ids. 2023-04-02 12:05:04 +03:00
levlam
cb2ce5d1de Add td_api::addChatFilterByInviteLink. 2023-03-31 16:48:32 +03:00
levlam
d47bd927fe Add td_api::checkChatFilterInviteLink. 2023-03-31 15:50:49 +03:00
levlam
715f681651 Add class chatFilterIcon. 2023-03-31 13:34:47 +03:00
levlam
49b9ea2ec1 Add td_api::deleteChatFilterInviteLink. 2023-03-30 19:52:55 +03:00
levlam
a9f862c3c3 Add td_api::editChatFilterInviteLink. 2023-03-30 19:37:01 +03:00
levlam
d1c9cacf85 Add td_api::getChatFilterInviteLinks. 2023-03-30 17:15:04 +03:00
levlam
ea56e6865a Add td_api::reorderActiveBotUsernames. 2023-03-30 16:41:03 +03:00
levlam
93c3b5cc07 Add toggleBotUsernameIsActive. 2023-03-30 15:34:27 +03:00
levlam
9d88c64718 Add td_api::setBotProfilePhoto. 2023-03-29 21:49:54 +03:00
levlam
62818418ea Add setBotName/getBotName. 2023-03-28 18:42:54 +03:00
levlam
92f1d26f08 Allow to edit description of owned bots. 2023-03-28 17:49:48 +03:00
levlam
f844179528 Add td_api::createChatFilterInviteLink. 2023-03-27 21:36:44 +03:00
levlam
03819d0322 Move all chatFilter checks to DialogFilter::create_dialog_filter. 2023-03-27 19:08:25 +03:00
levlam
f4daa4b61a Move dialog filter list to DialogFilterManager. 2023-03-27 17:44:13 +03:00
levlam
2ef970307b Move get_chat_filter_object and load_dialog_filter to DialogFilterManager. 2023-03-27 14:09:55 +03:00
levlam
0ff733edad Move recommended filters to DialogFilterManager. 2023-03-27 11:50:40 +03:00
levlam
800258fa57 Add DialogFilterManager. 2023-03-27 11:27:17 +03:00
levlam
46a76fa9a8 Add CustomEmojiId::get_custom_emoji_ids. 2023-03-27 00:54:44 +03:00
levlam
881e74accb Add DialogId::get_dialog_ids. 2023-03-27 00:39:38 +03:00
levlam
1ce9f9d27c Minor improvements. 2023-03-24 14:14:37 +03:00
levlam
a9ba8f5a6c Reload promo data sequentially. 2023-03-22 19:52:06 +03:00
levlam
d3ef57e961 Add td_api::getSupportName. 2023-03-22 13:54:04 +03:00
levlam
1af942de49 Add td_api::resetAuthenticationEmailAddress. 2023-03-20 15:17:51 +03:00
levlam
1153e5464d Support multiple getUserProfilePhotos requests. 2023-03-15 13:33:41 +03:00
levlam
0293189b62 Allow to ignore background updates when file database is used. 2023-03-14 01:50:33 +03:00
levlam
47c4d50907 Add TdDb::Parameters. 2023-03-13 22:29:56 +03:00
levlam
5b4f29e781 fix database parameters in the database thread, 2023-03-13 21:32:12 +03:00
levlam
367d3eaa2b Move ignore_background_updates() to Td. 2023-03-13 21:13:59 +03:00
levlam
af838647df Explicitly pass use_secret_chats to SecretChatsManager. 2023-03-13 20:35:19 +03:00
levlam
68336dbefc Add option "ignore_file_names". 2023-03-13 19:19:13 +03:00
levlam
cac5c4467a Replace value of "use_storage_optimizer" option with value of the corresponding TDLib parameter. 2023-03-13 19:10:26 +03:00
levlam
32d0433c26 Add "disable_network_statistics" option. 2023-03-13 17:26:23 +03:00
levlam
2baff56b7a Don't store TdParameters in Td. 2023-03-13 16:30:11 +03:00
levlam
7bd211fd82 Improve TdParameters. 2023-03-13 16:06:43 +03:00
levlam
e7242b1188 Fix includes. 2023-03-06 20:36:56 +03:00
levlam
040f0a954c Rename share_text to short_description. 2023-03-04 20:31:21 +03:00
levlam
672ef60828 Add td_api::getInternalLink. 2023-03-02 16:21:36 +03:00
levlam
3a598036e6 Support file reference repair for Web App files. 2023-02-28 14:11:49 +03:00
levlam
57655958a9 Add td_api::getBotInfoShareText. 2023-02-27 01:47:55 +03:00
levlam
0c8b9bf555 Add td_api::setBotInfoShareText. 2023-02-27 01:41:46 +03:00
levlam
d7ba7f693b Add td_api::getBotInfoDescription. 2023-02-27 01:33:51 +03:00
levlam
72bebaf3f5 Add td_api::setBotInfoDescription. 2023-02-27 01:00:17 +03:00
levlam
e7da8e88e0 Add td_api::getWebAppLinkUrl. 2023-02-24 15:08:16 +03:00
levlam
129de63bea Add td_api::searchWebApp. 2023-02-24 14:07:40 +03:00
levlam
651bb7a156 Add inlineQueryResultsButton. 2023-02-21 20:44:03 +03:00
levlam
acec58e7ef Add addApplicationChangelog. 2023-02-21 12:08:55 +03:00
levlam
ba2c797350 Return Ok from setStickerSetThumbnail. 2023-02-16 20:38:19 +03:00
levlam
c3d2ad8c59 Return Ok from addStickerToSet. 2023-02-16 19:50:52 +03:00
levlam
359ec5e66c Add td_api::deleteStickerSet. 2023-02-16 16:17:29 +03:00
levlam
e8d022e52c Simplify StickersManager::upload_sticker_file. 2023-02-14 16:10:27 +03:00
levlam
7be16c8a68 Move sticker_format out of inputSticker. 2023-02-14 14:59:03 +03:00
levlam
ae0a473cb9 Add td_api::setStickerMaskPosition. 2023-02-10 15:52:25 +03:00
levlam
8e74b99e13 Add td_api::setStickerKeywords. 2023-02-09 21:43:38 +03:00
levlam
c53b05e4e8 Add td_api::setStickerEmojis. 2023-02-09 20:42:09 +03:00
levlam
4d8fae253e Simplify uploadStickerFile. 2023-02-09 16:05:26 +03:00
levlam
8e2cbeebc1 Add td_api::setStickerSetTitle. 2023-02-08 21:43:09 +03:00
levlam
9871aba024 Add td_api::setCustomEmojiStickerSetThumbnail. 2023-02-08 21:29:54 +03:00
levlam
5bbac9d0b4 Support creation of repainted custom emoji sticker sets. 2023-02-08 20:29:53 +03:00
levlam
fbea859a11 Add MessageSource to viewMessages. 2023-02-07 21:08:54 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
337bdc5f5e Use request promise in getWebPagePreview. 2023-02-15 15:05:37 +03:00
levlam
5a39bb4952 Use error code returned by get_input_file_id. 2023-02-09 18:31:02 +03:00
levlam
43e5f2aded Support updateAutosaveSettings in getCurrentState. 2023-02-05 10:04:19 +03:00
levlam
9bf492dbc0 Fix warnings. 2023-02-04 09:55:11 +03:00
levlam
39f4091ac5 Add td_api::setAutosaveSettings. 2023-02-03 15:58:15 +03:00
levlam
255d887bce Add td_api::clearAutosaveSettingsExceptions. 2023-02-03 13:07:43 +03:00
levlam
c5c9707837 Add td_api::getAutosaveSettings. 2023-02-03 12:39:23 +03:00
levlam
216b6e1acf Add AutosaveManager. 2023-02-03 10:41:31 +03:00
levlam
7596600548 Reload default chat photo custom emoji identifiers. 2023-02-01 02:35:57 +03:00
levlam
b067159d78 Improve chat type check. 2023-02-01 02:10:03 +03:00
levlam
a347eb4da3 Add ability to check shared with bot user/chat. 2023-01-31 16:52:05 +03:00
levlam
47fd88b33f Add and use "since_last_open" internal option. 2023-01-30 01:29:33 +03:00
levlam
0469ac0147 Add inputChatPhotoSticker. 2023-01-30 00:35:14 +03:00