Commit Graph

1220 Commits

Author SHA1 Message Date
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
levlam
1ee924aeb2 Add suggestUserPersonalProfilePhoto. 2022-12-15 18:12:30 +03:00
levlam
7b8ce74ec2 Allow to set fallback profile photo. 2022-12-15 17:44:26 +03:00
levlam
743ba7cc28 Add toggleBotIsAddedToAttachmentMenu.allow_write_access. 2022-12-15 14:21:22 +03:00
levlam
b2c838f7bb Add td_api::setUserPersonalProfilePhoto. 2022-12-13 14:16:49 +03:00
levlam
b634948c15 Move static MessageId helpers to MessageId class. 2022-12-10 22:57:41 +03:00
levlam
8ee04b37e6 Minor improvements. 2022-12-09 12:12:49 +03:00
levlam
05ad0474bf Add td_api::getForumTopics. 2022-12-06 18:16:22 +03:00
levlam
d9e16106af Add setForumTopicNotificationSettings. 2022-12-06 14:53:54 +03:00
levlam
ec0dd68a57 Add td_api::getForumTopicLink. 2022-12-05 13:03:38 +03:00
levlam
cdaddd75b2 Add td_api::getForumTopic. 2022-12-02 17:04:24 +03:00
levlam
6977ac94ed Add td_api::searchUserByToken. 2022-12-01 16:54:58 +03:00
levlam
b340e559bb Add td_api::getUserLink. 2022-12-01 15:08:13 +03:00
levlam
38d3ecbd26 Add td_api::toggleGeneralForumTopicIsHidden. 2022-11-30 18:52:31 +03:00
levlam
aef203ed05 Allow to change topic name and icon separately. 2022-11-30 16:53:01 +03:00
levlam
db5a7bb198 Add td_api::getDefaultMessageTtl. 2022-11-29 19:51:33 +03:00
levlam
2e163cfa7b Add td_api::setDefaultMessageTtl. 2022-11-29 18:53:36 +03:00
levlam
2844156dfc Allow to specify message_ttl during creation of basic group and channel chats. 2022-11-29 15:44:12 +03:00
levlam
3d3f73df7a Add td_api::reportSupergroupAntiSpamFalsePositive. 2022-11-25 16:38:00 +03:00
levlam
6827c79570 Add toggleSupergroupIsAggressiveAntiSpamEnabled. 2022-11-25 16:06:04 +03:00
levlam
0b387a61ad Add source to dup_file_id. 2022-11-21 11:40:43 +03:00
levlam
f085e7eea3 Use request promise in setBackground. 2022-11-17 18:48:48 +03:00
levlam
ff0c205fe9 Generate new links for topic messages. 2022-11-04 15:56:16 +03:00
levlam
82ab2da9c0 Pass promise to StickersManager::get_emoji_reaction. 2022-11-03 21:07:07 +03:00
levlam
d1afd1c3b7 Minor improvements. 2022-11-02 19:51:41 +03:00
levlam
5aaa20b4d9 Rename forum topic title to topic name. 2022-11-02 17:31:25 +03:00
levlam
69d53080bf Split API methods for chats and message threads. 2022-10-31 20:03:28 +03:00
levlam
342f446631 Support unpinning of all messages in a message thread. 2022-10-31 19:44:01 +03:00
levlam
1cda8096c5 Allow forum topic methods for bots. 2022-10-31 11:53:37 +03:00
levlam
43deaf4502 Add td_api::deleteForumTopic. 2022-10-30 00:35:37 +03:00
levlam
99e6629c79 Add toggleForumTopicIsClosed. 2022-10-27 17:31:05 +03:00
levlam
be81c6d2b9 Add td_api::editForumTopic. 2022-10-27 16:53:23 +03:00
levlam
da1b385185 Add openWebApp.message_thread_id. 2022-10-27 12:36:17 +03:00
levlam
e33dac507d Add getForumTopicDefaultIcons. 2022-10-27 10:06:13 +03:00
levlam
eadf411679 Support forum topic creation. 2022-10-25 16:10:15 +03:00
levlam
83a2a786ef Add ForumTopicManager. 2022-10-25 15:03:35 +03:00
levlam
9b304557c2 Add toggleSupergroupIsForum. 2022-10-25 11:52:45 +03:00
levlam
75739dd0ea Allow to pass message thread identifier to readAllChatReactions. 2022-10-24 17:04:05 +03:00
levlam
df561b7822 Allow to pass message thread identifier to readAllChatMentions. 2022-10-24 16:57:26 +03:00
levlam
62bcac0198 Support forwarding of messages to message threads. 2022-10-21 18:02:39 +03:00
levlam
ec1310a0e7 Support multiple sponsored messages. 2022-10-21 15:04:56 +03:00
levlam
49c993b674 Make VideoNotesManager an actor. 2022-10-20 18:53:12 +03:00
levlam
c941f488a0 Proxy speech recognition methods through MessagesManager. 2022-10-19 17:56:18 +03:00
levlam
e42e224154 Add disableAllSupergroupUsernames. 2022-10-17 14:58:47 +03:00
levlam
85b0c0060e Add toggleUsernameIsActive/toggleSupergroupUsernameIsActive. 2022-10-17 14:04:22 +03:00
levlam
b3ab397bcd Support reordering of active usernames. 2022-10-14 15:32:54 +03:00
levlam
88ffdb62e7 Split NotificationSettings.h. 2022-10-25 01:22:04 +03:00