Commit Graph

2346 Commits

Author SHA1 Message Date
levlam
c8be7e5a41 Calculate webPage.show_large_media. 2023-11-04 04:12:55 +03:00
levlam
44492c69f5 Fix return type of searchQuote. 2023-11-03 23:31:04 +03:00
levlam
3b0e6420e0 Minor improvements. 2023-11-03 17:00:22 +03:00
levlam
682df38d96 Add td_api::searchQuote. 2023-11-03 13:51:38 +03:00
levlam
2a9c7555be Add accentColor.built_in_accent_color_id. 2023-11-02 23:37:42 +03:00
levlam
25ef762e25 Remove class accentColorId. 2023-11-02 22:03:13 +03:00
levlam
4489ef54aa Add td_api::updateAccentColors. 2023-11-02 21:30:38 +03:00
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
3c64604acc Update layer 166 scheme. 2023-10-30 23:26:53 +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
levlam
bd36f48054 Update layer to 166. 2023-09-28 16:13:36 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
483b9d73c4 Remove unneeded (void) for empty parameter list. 2023-10-17 23:58:44 +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
levlam
9a40ea0f10 Update layer to 165. 2023-09-25 18:16:26 +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
153ff5503b Update layer to 164. 2023-08-15 22:45:37 +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