Commit Graph

2128 Commits

Author SHA1 Message Date
levlam
7d5b4e307d Add getWebPagePreview.link_preview_options. 2023-11-02 01:09:30 +03:00
levlam
0621514356 Add mentions of BlockQuote entities to documentation. 2023-11-01 23:27:35 +03:00
levlam
2669b48235 Document that message text can be empty. 2023-11-01 23:25:01 +03:00
levlam
46d188e35c Return full link_preview_options in messageText. 2023-11-01 21:55:12 +03:00
levlam
6f4bb7d099 Improve updateChatLastMessage documentation. 2023-11-01 21:43:46 +03:00
levlam
36ce823dcc Add separate flag message.can_be_replied_in_another_chat. 2023-11-01 18:32:55 +03:00
levlam
04b431608d Fix get_message_reply_to_message_object and improve documentation. 2023-10-31 02:38:16 +03:00
levlam
d6f284e8cd Add td_api::getUserChatBoosts. 2023-10-31 01:52:26 +03:00
levlam
9e289e2046 Add chatBoost.id. 2023-10-31 01:14:18 +03:00
levlam
b2a85a5d1b Add td_api::updateChatBoost. 2023-10-31 00:18:38 +03:00
levlam
4cfe112d88 Improve chatBoostSourceGiveaway documentation. 2023-10-30 21:01:52 +03:00
levlam
041930528f Improve documentation. 2023-10-30 18:58:53 +03:00
levlam
9a66b6ec5c Disallow quotes and replies in other chats in secret chats. 2023-10-29 20:08:59 +03:00
levlam
456d2342bf Add td_api::premiumFeatureAccentColor. 2023-10-29 03:20:29 +03:00
levlam
7f5b50db9b Disallow to reply unknown messages in another chat. 2023-10-29 02:05:08 +03:00
levlam
b2b665e8d6 Remove unallowed reply quote entities. 2023-10-29 01:25:21 +03:00
levlam
7f5da4b5c5 Don't allow to reply in another chat non-forwardable messages. 2023-10-29 01:05:55 +03:00
levlam
0737f3b741 Support link preview in reply media content. 2023-10-29 00:57:50 +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
11c20c0417 Add messagePremiumGiveaway.sticker. 2023-10-26 23:22:53 +03:00
levlam
e50a3ce18c Add messageReplyToMessage.content. 2023-10-26 22:53:25 +03:00
levlam
72c29377b7 Add messageReplyToMessage.origin. 2023-10-26 16:43:28 +03:00
levlam
10c9e400d3 Rename MessageForwardOrigin to MessageOrigin. 2023-10-26 16:26:52 +03:00
levlam
a953ef7225 Add messageReplyToMessage.send_date. 2023-10-26 16:14:43 +03:00
levlam
f0d166cbdc Add messageReplyToMessage.quote. 2023-10-26 15:52:42 +03:00
levlam
d63caeb8d0 Improve gift_code_boost_count documentation. 2023-10-25 18:00:53 +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
d9d3d492ff Add messagePremiumGiftCode.is_unclaimed. 2023-10-23 17:37:54 +03:00
levlam
2bbb0ed0ec Add linkPreviewOptions.show_above_text. 2023-10-22 00:50:19 +03:00
levlam
cb51944cb7 Add webPage.show_above_text. 2023-10-21 21:33:46 +03:00
levlam
216b4833dd Return ChatBoostSlots from boostChat. 2023-10-21 01:41:05 +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
00ac941e64 Add chatBoostStatus.gift_code_boost_count. 2023-10-20 23:18:16 +03:00
levlam
cfb802eb9d Return all applied slots in getChatBoostStatus. 2023-10-20 23:11:45 +03:00
levlam
ac64cf9b45 Add getChatBoosts.only_gift_codes. 2023-10-20 15:28:59 +03:00
levlam
8d25f6f1d9 Improve td_api::chatBoost. 2023-10-20 15:00:50 +03:00
levlam
24c84398ee Add stickerSetInfo.needs_repainting. 2023-10-19 23:06:55 +03:00
levlam
5def3f2c88 Add pageBlockChatLink.accent_color_id. 2023-10-19 16:16:44 +03:00
levlam
81bdd4294b Remove td_api::canBoostChat. 2023-10-19 15:46:09 +03:00
levlam
edc3e4c18a Add chatInviteLinkInfo.accent_color_id_. 2023-10-19 15:40:55 +03:00
levlam
8a7322cef2 Add td_api::getDefaultBackgroundCustomEmojiStickers. 2023-10-19 15:23:04 +03:00
levlam
4194d9478b Add webPage.skip_confirmation. 2023-10-19 13:03:27 +03:00
levlam
f78bc2ae32 Add td_api::setChatAccentColor. 2023-10-18 19:43:14 +03:00
levlam
6ec7ab73e5 Add "giveaway_duration_max" option. 2023-10-18 18:28:55 +03:00
levlam
28bdceaaef Add td_api::setAccentColor. 2023-10-18 17:56:45 +03:00
levlam
7df8a8f3d0 Support user/chat.background_custom_emoji_id. 2023-10-18 15:59:25 +03:00
levlam
dd6fd86637 Add chat.accentColorId. 2023-10-17 15:09:57 +03:00
levlam
22e4b0d641 Add class AccentColorId. 2023-10-17 13:52:04 +03:00
levlam
02b87ef1f3 Add chatEventReplyBackgroundCustomEmojiChanged. 2023-10-17 13:11:12 +03:00
levlam
38baaf4953 Add td_api::chatEventAccentColorChanged. 2023-10-17 12:58:01 +03:00
levlam
b0df339750 Ignore force_*_media if url isn't specified exlicitly. 2023-10-16 23:06:48 +03:00
levlam
cdedb9ee1f Return web_page_url in messageText. 2023-10-16 22:33:53 +03:00
levlam
d16fc8294c Add td_api::linkPreviewOptions. 2023-10-16 20:12:33 +03:00
levlam
104727cb75 Add webPage.force_*_media flags. 2023-10-16 17:36:45 +03:00
levlam
8185dbfecc Add messageText.is_web_page_preview_manually_chosen. 2023-10-16 17:02:06 +03:00
levlam
d261743f91 Add WebPage.has_large_media. 2023-10-16 16:02:18 +03:00
levlam
84d628f05d Add td_api::messagePremiumGiveawayCreated. 2023-10-16 11:31:11 +03:00
levlam
cae7ba79ed Add sticker to messagePremiumGiftCode. 2023-10-13 16:06:55 +03:00
levlam
a6f0260cf2 Add "giveaway_country_count_max" option. 2023-10-13 14:06:05 +03:00
levlam
e24f68a4ff Add "giveaway_additional_chat_count_max" option. 2023-10-13 13:39:14 +03:00
levlam
129a04b24d Add pushMessageContentPremiumGiveaway. 2023-10-13 13:28:01 +03:00
levlam
ce5f63c5aa Add pushMessageContentPremiumGiftCode. 2023-10-13 13:11:13 +03:00
levlam
580e856f44 Support giveaway forwarding. 2023-10-13 12:47:34 +03:00
levlam
4ef53487dc Add creation_date to information about giveaway. 2023-10-13 11:57:43 +03:00
levlam
98b14b7326 Add premiumGiveawayParticipantStatusDisallowedCountry. 2023-10-13 11:48:10 +03:00
levlam
d85182e5d0 Improve premiumGiveawayParameters field name. 2023-10-13 11:38:22 +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
3dea942078 Add td_api::premiumGiveawayParameters. 2023-10-12 17:05:03 +03:00
levlam
c2d5ca2d3f Allow to get the list of prepaid Premium giveaways. 2023-10-10 14:11:59 +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
3e3b4e8aa6 Remove legacy supports_settings fields. 2023-10-04 17:24:52 +03:00
levlam
a98a9fb971 Add td_api::inputInvoiceTelegram. 2023-10-03 18:27:56 +03:00
levlam
e608fdca7b Add td_api::textEntityTypeBlockQuote. 2023-10-02 23:23:45 +03:00
levlam
84676f04a6 Add more colors to themeParameters. 2023-10-02 22:31:34 +03:00
levlam
d20ddeb65c Add td_api::messagePremiumGiveaway. 2023-09-30 00:32:39 +03:00
levlam
1ebbd360db Add td_api::messagePremiumGiftCode. 2023-09-29 17:55:03 +03:00
levlam
b4609e910a Add td_api::internalLinkTypePremiumGiftCode. 2023-09-29 16:44:59 +03:00
levlam
acb9da43a7 Add td_api::storePaymentPurposePremiumGiveaway. 2023-09-29 15:52:23 +03:00
levlam
a926c9dc6a Improve documentation. 2023-09-28 22:58:15 +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
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
13d02a8644 Add separate class messageImportInfo. 2023-10-09 12:20:32 +03:00
levlam
b5bf594662 Improve messageBotWriteAccessAllowed class. 2023-09-28 15:15:00 +03:00
levlam
e3d89cf90f Add messageReaction.used_sender_id. 2023-09-28 14:32:08 +03:00
levlam
0fd3c55547 Add addedReaction.is_outgoing. 2023-09-28 13:25:33 +03:00
levlam
4a02f50969 Add chatBoostStatus.boost_url. 2023-09-25 18:40:55 +03:00
986f1ab469 Fix typo in docs 2023-10-07 11:49:40 +03:00
levlam
72b8a29d89 Fix documentation misprint. 2023-09-30 01:43:43 +03:00
levlam
97ec3eacf4 Fix get_percentage_value. 2023-09-28 19:54:36 +03:00
levlam
5b072215a7 Improve media_timestamp documentation. 2023-09-28 00:53:10 +03:00
levlam
32df5ab459 Fix documentation misprints. 2023-09-28 00:44:35 +03:00
levlam
235d884593 Improve can_manage_chat documentation. 2023-09-25 20:27:55 +03:00
levlam
e3bdd30d91 Improve documentation. 2023-09-20 21:31:02 +03:00
levlam
82c702c16d Minor improvements. 2023-09-19 21:59:14 +03:00
levlam
6dbec3fda7 Use td_api::error in td_api::updateStorySendFailed. 2023-09-19 19:13:45 +03:00
levlam
6b17c0fdec Use error object in td_api::messageSendingStateFailed/updateMessageSendFailed. 2023-09-19 19:04:56 +03:00
levlam
5a19de8faa Add storyAreaTypeSuggestedReaction.total_count. 2023-09-19 13:09:59 +03:00
levlam
fde0c8a0b1 Add storyInteractionInfo.forward_count. 2023-09-18 22:00:38 +03:00
levlam
6cb1f8fb96 Add td_api::premiumFeatureChatBoost. 2023-09-18 19:57:48 +03:00
levlam
0f7193172b Add premiumLimitTypeStorySuggestedReactionAreaCount. 2023-09-18 19:47:34 +03:00
levlam
583168767d Add td_api::getChatBoosts. 2023-09-16 12:22:11 +03:00
levlam
9a9cf8c48d Improve internalLinkTypeChatBoost description. 2023-09-15 19:18:57 +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
714397da80 Add td_api::internalLinkTypeChatBoost. 2023-09-15 16:24:26 +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
e2462e2487 Add td_api::canSendStoryResultBoostNeeded. 2023-09-14 20:04:59 +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
1558edd3dd Support Terms of Service for non-recurring payments. 2023-09-12 17:30:17 +03:00
levlam
de204f7bf2 Add supergroupFullInfo.has_pinned_stories. 2023-09-05 18:34:06 +03:00
levlam
8991ddf263 Add supergroup.has_active_stories/has_unread_active_stories. 2023-09-05 16:50:41 +03:00
levlam
86d286fc7c Add story action flags. 2023-09-05 15:50:38 +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
08639b520a Allow to set suggested custom reactions from stories. 2023-08-25 19:11:24 +03:00
levlam
fa1b6f33e1 Support storyAreaTypeSuggestedReaction. 2023-08-25 16:37:27 +03:00
levlam
6e84da54b9 Improve documentation. 2023-09-18 18:18:39 +03:00
levlam
cbf0038c58 Improve documentation for Web App links. 2023-09-14 23:09:12 +03:00
levlam
e79f540937 Minor improvements. 2023-09-13 22:17:46 +03:00
levlam
721f0ae9e4 Update name of storyPrivacySettingsSelectedUsers. 2023-09-13 15:19:16 +03:00
levlam
f2785d068b Update documentation of internalLinkTypeWebApp. 2023-09-13 13:37:51 +03:00
levlam
f4fabcf996 Improve td_api::session. 2023-09-13 13:12:56 +03:00
levlam
2e4594a35a Add td_api::confirmSession. 2023-09-12 14:28:02 +03:00
levlam
8b37e8101f Improve names of "ip_address" fields. 2023-09-12 00:41:39 +03:00
levlam
a874e617dc Add updateUnconfirmedSession. 2023-09-11 22:03:01 +03:00
levlam
5f1b1f41fc Add class InviteLinkChatType. 2023-09-11 18:33:44 +03:00
levlam
d2a3dfccc3 Support side menu icons for bots. 2023-09-08 17:21:16 +03:00
levlam
66793cf2f5 Add session.is_unconfirmed. 2023-09-08 15:49:25 +03:00
levlam
bf500652dc Support opening of Web Apps from the side menu and internalLinkTypeSideMenuBot links. 2023-09-07 21:40:47 +03:00
levlam
a7d9da0229 Add internalLinkTypeSideMenuBot. 2023-09-07 19:23:07 +03:00
levlam
289c25fd93 Support non-added bots in the list of attachment menu bots. 2023-09-07 18:04:21 +03:00
levlam
3983615646 Support showing attachment menu bots in side menu. 2023-09-07 16:45:42 +03:00
levlam
604f39c295 Add foundWebApp.supports_settings. 2023-09-07 15:52:31 +03:00
levlam
5ebbda1c26 Add td_api::MessageSelfDestructType. 2023-09-06 21:27:45 +03:00
levlam
fa838276fc Improve server fields documentation. 2023-09-12 00:45:42 +03:00
levlam
edb3d08757 Improve chatInviteLinkInfo.type documentation. 2023-09-11 00:29:09 +03:00
levlam
35ff6976d8 Add td_api::getAllStickerEmojis. 2023-09-04 16:17:36 +03:00
levlam
f4a8338232 Add more information in td_api::chatInviteLinkInfo. 2023-09-01 18:04:06 +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
249da789e7 Add messageBotWriteAccessAllowed.by_request. 2023-08-25 16:53:50 +03:00
levlam
0b7914bc18 Add storyViewers.total_reaction_count. 2023-08-16 13:45:10 +03:00
levlam
a1b08e2907 Add td_api::searchStringsByPrefix. 2023-08-16 13:39:59 +03:00
levlam
8f0297f75a Don't use "ID" shortening in the documentation. 2023-08-24 18:22:04 +03:00
levlam
d1172d8530 Allow to use getTopChats without chat info database. 2023-08-23 18:28:07 +03:00
levlam
d8472358dc Add MessagesManager::get_story_notification_settings. 2023-08-22 18:55:59 +03:00
levlam
a711e70467 Move story types up in the scheme to allow story usage in other types. 2023-08-21 20:17:43 +03:00
levlam
19a2eca935 Document limit for the number of story areas. 2023-08-15 20:08:24 +03:00
levlam
8d0627b014 Disallow story areas editing without content edit. 2023-08-15 19:39:59 +03:00
levlam
a0990ef2fd Various fixes. 2023-08-15 17:45:16 +03:00
levlam
1b8cb6a31f Add updateStorySendFailed.error. 2023-08-14 22:13:40 +03:00
levlam
fd2df72321 Add td_api::canSendStory. 2023-08-11 19:43:26 +03:00
levlam
155b447420 Add td_api::updateStorySendFailed. 2023-08-11 16:41:14 +03:00
levlam
732b006bf9 Add updateStorySendSucceeded. 2023-08-11 16:23:37 +03:00
levlam
a554859d80 Add story.is_being_sent. 2023-08-11 16:10:10 +03:00
levlam
cabd71c3c3 Add weekly and monthly limits for sent stories. 2023-08-11 15:35:13 +03:00
levlam
499cd02a0a Assign temporary identifier to yet unsent stories. 2023-08-11 15:16:24 +03:00
levlam
8d8cfb93d3 Update allowed active_period values. 2023-08-10 21:36:12 +03:00
levlam
dd023dba19 Add td_api::getStoryAvailableReactions. 2023-08-09 14:13:41 +03:00
levlam
c926b59053 Add storyViewers.total_count. 2023-08-07 20:49:31 +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
b36aee538b Add story.chosen_reaction_type. 2023-08-04 18:56:53 +03:00
levlam
6acd85411f Add storyInteractionInfo.reaction_count. 2023-08-04 15:32:24 +03:00
levlam
ea33e9f2d0 Add td_api::activateStoryStealthMode. 2023-08-04 15:23:51 +03:00
levlam
3448c6f4ab Add StoryStealthMode class. 2023-08-04 00:14:34 +03:00
levlam
8c7076fe97 Add td_api::PremiumStoryFeature. 2023-08-02 14:50:54 +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
7f4e614bfe Add td_api::inputStoryArea. 2023-08-01 18:11:30 +03:00
levlam
8235b08fea Add td_api::story.areas. 2023-08-01 16:15:30 +03:00
levlam
6deae588bf Add td_api::storyArea. 2023-08-01 15:17:50 +03:00
levlam
92f69a228d Add td_api::storyAreaPosition. 2023-08-01 14:20:42 +03:00
levlam
d65f9ad5f3 Add td_api::premiumFeatureUpgradedStories. 2023-07-30 12:42:24 +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
09aa2ec01e Add td_api::premiumLimitTypeStoryCaptionLength. 2023-07-21 15:42:32 +03:00
levlam
8e1a7dbac2 Improve documentation. 2023-08-03 15:03:03 +03:00
levlam
11c9f78538 Fix inputStoryContentPhoto documentation. 2023-07-22 01:32:48 +03:00
levlam
a553447ac2 Make story.privacy_settings always non-null. 2023-07-18 16:19:11 +03:00
levlam
fc97956447 Add td_api::StoryPrivacySettings. 2023-07-18 16:00:06 +03:00
levlam
a73a8dcca1 Update documentation. 2023-07-17 19:41:13 +03:00
levlam
2e78aea606 Add td_api::fileTypePhotoStory and td_api::fileTypeVideoStory. 2023-07-16 13:03:25 +03:00
levlam
cbdd558d3a Fix archiveChatListSettings settings. 2023-07-14 18:51:47 +03:00
levlam
d5c8a68876 Hide EnableArchiveAndMuteNewChat suggested action when the corresponding setting is set. 2023-07-14 15:31:27 +03:00