Commit Graph

1240 Commits

Author SHA1 Message Date
levlam
4648901627 tg_cli: support reply with quote. 2023-10-30 20:20:27 +03:00
levlam
dc930122a8 tg_cli: support replies in other chats. 2023-10-30 20:18:10 +03:00
levlam
8b95bde9b3 Globally set message reply for messages to be sent. 2023-10-30 19:35:03 +03:00
levlam
6e217d1aac Add inputMessageReplyToMessage.chat_id. 2023-10-29 00:50:33 +03:00
levlam
ec231f0c99 Add inputMessageReplyToMessage.quote. 2023-10-27 13:06:38 +03:00
levlam
5216ea1d01 Use InputMessageReplyTo in draftMessage. 2023-10-25 02:07:37 +03:00
levlam
faf964a10d Move only_preview to messageSendOptions. 2023-10-23 18:40:55 +03:00
levlam
4f4537ba33 Add td_api::getAvailableChatBoostSlots. 2023-10-21 01:24:25 +03:00
levlam
de3aebd011 Allow to pass list of slots to boostChat. 2023-10-20 23:28:09 +03:00
levlam
ac64cf9b45 Add getChatBoosts.only_gift_codes. 2023-10-20 15:28:59 +03:00
levlam
81bdd4294b Remove td_api::canBoostChat. 2023-10-19 15:46:09 +03:00
levlam
8a7322cef2 Add td_api::getDefaultBackgroundCustomEmojiStickers. 2023-10-19 15:23:04 +03:00
levlam
f78bc2ae32 Add td_api::setChatAccentColor. 2023-10-18 19:43:14 +03:00
levlam
28bdceaaef Add td_api::setAccentColor. 2023-10-18 17:56:45 +03:00
levlam
74fc996843 tg_cli: add class CustomEmojiId. 2023-10-18 16:48:18 +03:00
levlam
d16fc8294c Add td_api::linkPreviewOptions. 2023-10-16 20:12:33 +03:00
levlam
f31635e9a8 Support country code restrictions for giveaways. 2023-10-12 18:58:40 +03:00
levlam
5d80e3db72 Add td_api::launchPrepaidPremiumGiveaway. 2023-10-12 18:19:08 +03:00
levlam
2a46d463e0 tg_cli: add PremiumGiveawayParameters. 2023-10-12 17:58:48 +03:00
levlam
3dea942078 Add td_api::premiumGiveawayParameters. 2023-10-12 17:05:03 +03:00
levlam
9a339166a2 Add td_api::getPremiumGiveawayInfo. 2023-10-06 18:28:02 +03:00
levlam
811a7c60e1 Add separate td_api::InputMessageReplyTo. 2023-10-06 11:58:05 +03:00
levlam
a98a9fb971 Add td_api::inputInvoiceTelegram. 2023-10-03 18:27:56 +03:00
levlam
84676f04a6 Add more colors to themeParameters. 2023-10-02 22:31:34 +03:00
levlam
acb9da43a7 Add td_api::storePaymentPurposePremiumGiveaway. 2023-09-29 15:52:23 +03:00
levlam
c98c778b08 Add td_api::applyPremiumGiftCode. 2023-09-28 22:35:57 +03:00
levlam
4bd27a1516 Add td_api::checkPremiumGiftCode. 2023-09-28 22:21:25 +03:00
levlam
ca1ae47242 Add td_api::getPremiumGiftCodePaymentOptions. 2023-09-28 21:26:33 +03:00
levlam
fa04b6f280 Add storePaymentPurposePremiumGiftCodes. 2023-09-28 17:54:03 +03:00
levlam
583168767d Add td_api::getChatBoosts. 2023-09-16 12:22:11 +03:00
levlam
469be958f2 Add td_api::getChatBoostLinkInfo. 2023-09-15 19:07:18 +03:00
levlam
069f8607df Add td_api::getChatBoostLink. 2023-09-15 16:37:17 +03:00
levlam
8230efb97f Add td_api::boostChat. 2023-09-15 15:11:37 +03:00
levlam
97db1de2c1 Add td_api::canBoostChat. 2023-09-15 15:00:02 +03:00
levlam
c120b5ef19 Add td_api::getChatsToSendStories. 2023-09-14 18:59:30 +03:00
levlam
7605812d2c Add td_api::getChatBoostStatus. 2023-09-12 18:37:32 +03:00
levlam
0ab5ab00ea tg_cli: add logf. 2023-09-12 17:34:12 +03:00
levlam
b16de41ef1 Support sending and editing stories in channels. 2023-09-04 23:49:17 +03:00
levlam
3c977a0f99 Add story-related administrator rights. 2023-09-04 20:24:44 +03:00
levlam
fa1b6f33e1 Support storyAreaTypeSuggestedReaction. 2023-08-25 16:37:27 +03:00
levlam
721f0ae9e4 Update name of storyPrivacySettingsSelectedUsers. 2023-09-13 15:19:16 +03:00
levlam
2e4594a35a Add td_api::confirmSession. 2023-09-12 14:28:02 +03:00
levlam
5ebbda1c26 Add td_api::MessageSelfDestructType. 2023-09-06 21:27:45 +03:00
levlam
35ff6976d8 Add td_api::getAllStickerEmojis. 2023-09-04 16:17:36 +03:00
levlam
89e2a29926 Add td_api::sendWebAppCustomRequest. 2023-08-25 18:26:05 +03:00
levlam
49c1764746 Add td_api::allowBotToSendMessages. 2023-08-25 18:06:56 +03:00
levlam
a08f54007e Add td_api::canBotSendMessages. 2023-08-25 17:23:04 +03:00
levlam
a1b08e2907 Add td_api::searchStringsByPrefix. 2023-08-16 13:39:59 +03:00
levlam
8d0627b014 Disallow story areas editing without content edit. 2023-08-15 19:39:59 +03:00
levlam
9d9da813ec tg_cli: add InputStoryAreas class. 2023-08-15 16:50:34 +03:00
levlam
fd2df72321 Add td_api::canSendStory. 2023-08-11 19:43:26 +03:00
levlam
dd023dba19 Add td_api::getStoryAvailableReactions. 2023-08-09 14:13:41 +03:00
levlam
fdd44e8f9d Support filters in getStoryViewers. 2023-08-07 19:56:55 +03:00
levlam
d72e9cc68f Use string offset in getStoryViewers. 2023-08-07 19:40:15 +03:00
levlam
0eec3dda94 Add more fields to class StoryViewer. 2023-08-07 17:19:12 +03:00
levlam
eb74e6eb2a Add separate StoryViewer class. 2023-08-07 16:03:10 +03:00
levlam
665662a160 Add td_api::setStoryReaction. 2023-08-06 23:28:00 +03:00
levlam
ea33e9f2d0 Add td_api::activateStoryStealthMode. 2023-08-04 15:23:51 +03:00
levlam
0ba15e33dd tg_cli: use as_user_ids in StoryPrivacySettings. 2023-08-02 13:52:33 +03:00
levlam
bed1b43b85 Add storyPrivacySettingsEveryone.except_user_ids. 2023-08-02 13:50:44 +03:00
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
7f556e4b9d tg_cli: add class ReportReason. 2023-08-01 20:44:24 +03:00
levlam
fc97956447 Add td_api::StoryPrivacySettings. 2023-07-18 16:00:06 +03:00
levlam
cbdd558d3a Fix archiveChatListSettings settings. 2023-07-14 18:51:47 +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
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
c6e5506f9a tg_cli: add as_story_list. 2023-07-08 15:55:49 +03:00
levlam
dbed591a01 Improve storyListArchive name. 2023-07-08 02:40:19 +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
b1cb40b22f Add scopeNotificationSettings.use_default_mute_stories. 2023-07-06 18:42:44 +03:00
levlam
312006a207 Various fixes. 2023-07-01 19:54:22 +03:00
levlam
b8849a2f81 Add td_api::loadActiveStories. 2023-06-29 14:22:50 +03:00
levlam
01eac2d6d8 tg_cli: simplify addContact. 2023-06-28 16:29:20 +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
34161cd627 Support more story chat notification settings. 2023-06-27 19:09:43 +03:00
levlam
b36ea8934b Add more story scope notification settings. 2023-06-27 18:30:05 +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
c34b4c3ef7 Add storyVideo.is_animation. 2023-06-23 16:06:02 +03:00
levlam
579eef5f10 Rename ChatReportReason to ReportReason. 2023-06-22 13:47:52 +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
59477f8f98 Improve field names. 2023-06-15 13:44:09 +03:00
levlam
e040b63fd8 Add td_api::openStory. 2023-06-14 15:17:24 +03:00
levlam
4b146ee33a Add chatNotificationSettings.mute_stories/use_default_mute_stories. 2023-06-12 20:09:23 +03:00
levlam
0791baa6c1 Add scopeNotificationSettings.mute_stories. 2023-06-12 19:41:18 +03:00
levlam
686f0eabe6 Add td_api::messageStory and td_api::inputMessageStory. 2023-06-12 19:23:58 +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
71faaae22f Support precise video duration. 2023-06-05 14:33:00 +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
cdb36baa85 tg_cli: improve story sending. 2023-05-25 21:10:02 +03:00
levlam
85e8116a4b tg_cli: add class PrivacyRules. 2023-05-25 18:38:15 +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
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
d7f72e03b0 Add td_api::userPrivacySettingRuleAllowCloseFriends. 2023-05-03 19:42:36 +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
10338c0490 Add privacy setting for bio. 2023-05-04 17:03:37 +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
340312e3da Add messageSourceScreenshot and notify about screenshotted codes. 2023-04-28 14:44:35 +03:00
levlam
9b8bb82897 tg_cli: improve as_message_sender. 2023-06-03 22:12:45 +03:00
levlam
6b342e9b0d Ignore reaction changes while there is a pending request to read unread reactions. 2023-06-01 15:31:05 +03:00
levlam
b0ff4376e3 tg_cli: remove legacy api_id/api_hash options. 2023-05-27 21:39:04 +03:00
levlam
ba4a851017 tg_cli: fix variable type. 2023-04-28 16:46:28 +03:00
levlam
b9d431ccac tg_cli: ignore Terminal input sequences. 2023-04-27 14:13:32 +03:00
levlam
8028a810ec Combine setBotInfo queries. 2023-04-17 13:28:26 +03:00
levlam
6ec89d0dad Combine GetBotInfo queries. 2023-04-17 12:23:21 +03:00
levlam
cfe57dbd60 Add td_api::readChatList. 2023-04-14 15:17: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
5df2f3c141 Add inputBackgroundPrevious. 2023-04-12 00:02:42 +03:00
levlam
b130306ce7 Add td_api::setChatBackground. 2023-04-11 17:46:55 +03:00
levlam
45dd4eed9a tg_cli: add class BackgroundType. 2023-04-10 20:22:10 +03:00
levlam
456129935e tg_cli: add as_wallpaper_background. 2023-04-10 19:45:15 +03:00
levlam
23e7d8fad1 tg_cli: add class InputBackground. 2023-04-10 19:41:54 +03:00
levlam
a52b6f025f Add td_api::getChatsForChatFolderInviteLink. 2023-04-09 21:54:40 +03:00
levlam
b4676dc57a Various fixes. 2023-04-07 16:02:31 +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
45a6d9864c Add chatInviteLinkMember.via_chat_filter_invite_link. 2023-04-03 13:36:47 +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
3fa7e6f2f7 tg_cli: allow to edit shareable filters. 2023-03-30 18:39:51 +03:00
levlam
761bc9c992 Add chatFilter.is_shareable. 2023-03-30 18:23:26 +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
3f9b43227c tg_cli: add td_api::setBotProfilePhoto. 2023-03-29 22:45:13 +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
3be730b44a tg_cli: add ChatFilterId class. 2023-03-30 17:23:26 +03:00
levlam
2cac802e07 tg_cli: add InputChatPhoto. 2023-03-29 22:42:19 +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
72b6eadd8d tg_cli: disallow '_' as separator. 2023-03-06 21:43:27 +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
1f32ae3dfd Add sending_id to messageSendOptions. 2023-02-23 17:05:43 +03:00
levlam
acec58e7ef Add addApplicationChangelog. 2023-02-21 12:08:55 +03:00
levlam
7be16c8a68 Move sticker_format out of inputSticker. 2023-02-14 14:59:03 +03:00
levlam
4d8fae253e Simplify uploadStickerFile. 2023-02-09 16:05:26 +03:00
levlam
b6de7319d4 Support inputSticker keywords. 2023-02-09 15:23:55 +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
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