Commit Graph

1266 Commits

Author SHA1 Message Date
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
levlam
2325c5041b Collect statistics about received updates. 2023-01-25 17:48:04 +03:00
levlam
b02f134798 Add td_api::EmojiCategoryType. 2023-01-24 21:38:53 +03:00
levlam
8730fd6f34 Add td_api::getEmojiCategories. 2023-01-24 18:11:02 +03:00
levlam
833c7c30da Allow mutiple emojis in searchStickers. 2023-01-23 21:40:32 +03:00
levlam
e5441b5ed7 Support sticker_type in searchStickers. 2023-01-23 21:07:42 +03:00
levlam
0feb0f15ce Improve names of methods and message contents related to sharing user/chat with a bot. 2023-01-23 18:19:35 +03:00
levlam
136a50d0ae Add translateMessageText. 2023-01-23 15:46:26 +03:00
levlam
a7e4c54f63 Support stickers in setChatPhoto. 2023-01-23 13:53:23 +03:00
levlam
425bd0e364 Support sticker chat photos. 2023-01-20 17:31:33 +03:00
levlam
337aef5c02 Support chat.is_translatable, toggleChatIsTranslatable and updateChatIsTranslatable. 2023-01-20 12:38:25 +03:00
levlam
65ddaea0f6 Add sendAuthenticationFirebaseSms. 2023-01-19 16:45:47 +03:00
levlam
a14d749893 Allow to upload custom emoji photos. 2023-01-19 14:06:27 +03:00
levlam
e26aecc87a Support translation of formatted text. 2023-01-18 16:34:49 +03:00
levlam
8c43a7c0bb Add TranslationManager. 2023-01-18 14:47:31 +03:00
levlam
97cc57a25c Add td_api::sendChosenChat. 2023-01-13 17:16:16 +03:00
levlam
0b54e28467 Add td_api::sendChosenUser. 2023-01-13 17:03:35 +03:00
levlam
6f3d7ac308 Add td_api::getDefaultProfilePhotoCustomEmojiStickers. 2023-01-10 15:40:52 +03:00
levlam
84077d72dc Add td_api::getDefaultChatPhotoCustomEmojiStickers. 2023-01-10 15:23:07 +03:00
levlam
f0d0ac6b78 Allow to create forum supergroups. 2023-01-09 21:43:51 +03:00
levlam
45ff12ca49 Improve PTS/QTS spelling. 2023-01-15 11:05:53 +03:00
levlam
3b6874818a Always wait for mailbox. 2023-01-11 01:08:22 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
b0bfdd2b35 Improve setTdlibParameters errors. 2022-12-30 23:13:40 +03:00
levlam
9fb35e8c95 Add td_api::setPinnedForumTopics. 2022-12-29 23:48:19 +03:00
levlam
118c336c01 Add td_api::toggleForumTopicIsPinned. 2022-12-29 23:23:09 +03:00
levlam
90b6403e86 Improve message_auto_delete_time field and class names. 2022-12-28 21:46:16 +03:00
levlam
6aa4558850 Improve return value of searchCallMessages. 2022-12-28 19:17:25 +03:00
levlam
9663dc98b5 Improve return type of searchChatMessages. 2022-12-28 18:42:11 +03:00
levlam
7e1d550870 Fix misprints. 2022-12-28 17:25:51 +03:00
levlam
1ff40ce132 Rename message TTL to auto-delete timer when appropriate. 2022-12-28 17:02:41 +03:00
levlam
a19f55b116 Rename is_aggressive_anti_spam_enabled to has_aggressive_anti_spam_enabled. 2022-12-27 19:14:37 +03:00
levlam
0a0387e8f5 Improve getForumTopicLink. 2022-12-26 15:11:55 +03:00
levlam
8267462041 Improve method name. 2022-12-26 13:49:00 +03:00
levlam
3080f64273 Simplify searchMessages usage. 2022-12-25 22:28:05 +03:00
levlam
63745c9ace Preload UserFull before deletion of profile photos. 2022-12-23 15:11:00 +03:00
levlam
f6de50e19f Fix some spelling. 2022-12-22 17:04:18 +03:00
levlam
6cb9371061 Add toggleSupergroupHasHiddenMembers. 2022-12-20 15:51:37 +03:00
levlam
8a2598869c Rename fallback photo to public photo. 2022-12-19 13:03:38 +03:00