Commit Graph

968 Commits

Author SHA1 Message Date
levlam
fbea859a11 Add MessageSource to viewMessages. 2023-02-07 21:08:54 +03:00
levlam
6e0ed42544 tg_cli: remove as_button_id. 2023-02-19 11:21:42 +03:00
levlam
337bdc5f5e Use request promise in getWebPagePreview. 2023-02-15 15:05:37 +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
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
a347eb4da3 Add ability to check shared with bot user/chat. 2023-01-31 16:52:05 +03:00
levlam
0469ac0147 Add inputChatPhotoSticker. 2023-01-30 00:35:14 +03:00
levlam
75dacac872 Add td_api::emojiCategoryTypeChatPhoto. 2023-01-27 15:16:40 +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
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
b339976ddf Add storePaymentPurposePremiumSubscription.is_upgrade. 2023-01-19 16:49:57 +03:00
levlam
f596ec7793 Allow to request Firebase Authentication in official apps. 2023-01-19 15:36:23 +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
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
ad8ecec67c Support separate chat permissions for different media types. 2023-01-06 14:16:34 +03:00
levlam
42af57ee05 Support General topic in getMessageThread. 2023-01-17 15:34:31 +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
7e1d550870 Fix misprints. 2022-12-28 17:25:51 +03:00
levlam
36fc74ea7c Rename message.ttl to self_destruct_timer. 2022-12-28 17:09:39 +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
eff7675749 Support spoilers for messageAnimation. 2022-12-26 14:20:48 +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
1416cb13b2 tg_cli: randomize sendMessageAlbum testing. 2022-12-23 19:11:52 +03:00
levlam
d4b7ebdd1e tg_cli: fix call to canPurchasePremium. 2022-12-21 18:06:08 +03:00
levlam
6cb9371061 Add toggleSupergroupHasHiddenMembers. 2022-12-20 15:51:37 +03:00
levlam
9d4517ab26 tg_cli: simplify message TTL testing. 2022-12-16 16:36:51 +03:00
levlam
0b8e1747a5 tg_cli: simplify has_spoiler testing. 2022-12-16 15:58:33 +03:00
levlam
02db4f2fac Support sending of photos and videos with spoiler animation. 2022-12-15 22:41:55 +03:00
levlam
ab349e1562 Support photo deletion in setUserPersonalProfilePhoto. 2022-12-15 18:39:39 +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
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
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
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
b27047bab7 tg_cli: add class MessageThreadId. 2022-10-27 14:19:04 +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
ce59ab321f tg_cli: fix misprint. 2022-10-26 13:57:16 +03:00
levlam
eadf411679 Support forum topic creation. 2022-10-25 16:10:15 +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
543863b572 Username fixes. 2022-10-24 13:34:20 +03:00
levlam
edc660ba59 Allow to get unread mentions and reactions in a message thread. 2022-10-23 22:16:20 +03:00
levlam
6a16492266 Support can_manage_topics administrator right and chat permission. 2022-10-23 13:20:53 +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
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
897032e0fd Add support for multiple usernames. 2022-10-12 21:04:18 +03:00
levlam
0b29caaac1 tg_cli: unify function names. 2022-10-12 15:03:47 +03:00
levlam
2dd1185eae tg_cli: add last_message_date to ghf. 2022-10-11 23:36:23 +03:00
levlam
5a29dcd337 Avoid redundant usages of Status::error(). 2022-10-09 14:15:54 +03:00
levlam
1f7258f697 Add getChatMessagePosition. 2022-09-30 20:04:21 +03:00
levlam
1ac2dfef30 Replace ConcurrentScheduler::init with constructor. 2022-09-14 15:06:52 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
f85b79d9bc Add td_api::clearRecentReactions. 2022-09-12 19:37:45 +03:00
levlam
de1ed3275f Add td_api::getCustomEmojiReactionAnimations. 2022-09-12 15:44:37 +03:00
levlam
a33eb5233c Add td_api::getEmojiReaction. 2022-09-12 15:03:35 +03:00
levlam
6b2f6b4204 Split setMessageReaction to addMessageReaction and removeMessageReaction. 2022-09-09 15:56:45 +03:00
levlam
f6a2ecdded Inline tdlibParameters in setTdlibParameters. 2022-09-07 22:19:08 +03:00
levlam
287cceb162 Remove separate authorizationStateWaitEncryptionKey. 2022-09-07 21:27:23 +03:00