Commit Graph

2483 Commits

Author SHA1 Message Date
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
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
a5073593e5 Update layer to 163. 2023-09-06 19:02:17 +03:00
levlam
97b756f292 Warn on unmatched brackets in the documentation. 2023-09-13 14:10:54 +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
a554e9bb4e Update layer to 162. 2023-08-15 22:45:37 +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
1022cc6439 Update layer to 161. 2023-07-21 15:41:44 +03:00
levlam
a7f8ff6eef Fix Java interface with SplitSource. 2023-08-07 01:47:43 +03:00
levlam
8e1a7dbac2 Improve documentation. 2023-08-03 15:03:03 +03:00
levlam
a1c726d895 Fix formatting. 2023-07-31 18:29:15 +03:00
levlam
58f15df705 Use JsonObject::get_.*_field if possible. 2023-07-31 17:17:52 +03:00
levlam
be64ce7049 Don't generate unused define FAIL. 2023-07-27 13:02:49 +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
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
c2999d8557 Minor improvements. 2023-07-13 19:32:54 +03:00
levlam
e1c090c9e3 Don't generate duplicate includes and forward declarations. 2023-07-13 18:31:58 +03:00
levlam
0d0b31c811 Support generation of multiple headers in generate_common. 2023-07-13 18:26:12 +03:00
levlam
5941063b43 Add storyInfo.is_for_close_friends. 2023-07-13 17:56:49 +03:00
levlam
4b3de26c0c Add getStory.only_local. 2023-07-11 12:29:10 +03:00
levlam
53ea5b0fa1 Add Story.is_being_edited. 2023-07-11 00:33:25 +03:00
levlam
c15a9d2464 Add td_api::updateStoryListChatCount. 2023-07-08 18:50:58 +03:00
levlam
39b84d89ea Improve method setChatActiveStoriesList name. 2023-07-08 16:53:29 +03:00
levlam
186f496a54 Add story.has_expired_viewers. 2023-07-08 09:32:30 +03:00
levlam
5819c049a3 Consistently use American "expiration date". 2023-07-08 08:48:40 +03:00
levlam
dbed591a01 Improve storyListArchive name. 2023-07-08 02:40:19 +03:00
levlam
f589137af4 Add user.has_unread_active_stories. 2023-07-07 18:25:24 +03:00
levlam
987faa7c6a Rename activeStories to chatActiveStories. 2023-07-07 16:52:56 +03:00
levlam
00608a45a3 Return chat_id back to activeStories. 2023-07-07 16:51:14 +03:00
levlam
3afa9fb5f5 Improve update name. 2023-07-07 16:13:12 +03:00
levlam
5c3a15e266 Remove chat_id from activeStories. 2023-07-07 16:08:03 +03:00
levlam
5130ec7760 Add emojiStatus.expiration_date. 2023-07-06 20:14:42 +03:00
levlam
565403e241 Return raw custom emoji identifiers in emojiStatuses. 2023-07-06 19:48:24 +03:00
levlam
628c4bb51f Improve field name. 2023-07-06 19:26:33 +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
2bf47d0809 Minor fixes. 2023-07-01 16:22:01 +03:00
levlam
7981c4086d Improve documentation. 2023-06-30 18:57:16 +03:00
levlam
ab04885dc4 Update active stories order. 2023-06-30 14:10:42 +03:00
levlam
eb78cf1883 Add "story_caption_length_max" option. 2023-06-29 15:20:30 +03:00
levlam
cec0ab47b5 Add Story.is_edited flag. 2023-06-29 15:15:12 +03:00
levlam
b8849a2f81 Add td_api::loadActiveStories. 2023-06-29 14:22:50 +03:00
levlam
a52bdbf79c Add LoadDialogExpiringStoriesLogEvent. 2023-06-28 17:52:33 +03:00
levlam
ffdebbea1f Hide story list for stories of non-contacts. 2023-06-28 16:56:17 +03:00
levlam
f023646c6d Add class StoryList and activeStories.list. 2023-06-28 16:09:44 +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
108b0fc9f8 Fix misprint. 2023-06-27 17:39:26 +03:00
levlam
b5020a8fef Add autoDownloadSettings.preload_stories. 2023-06-27 17:37:48 +03:00
levlam
3854a8b872 Add story.can_be_replied. 2023-06-27 17:29:30 +03:00
levlam
47d30cc7dc Add sendStory.protect_content. 2023-06-27 17:19:10 +03:00
levlam
7571f90a98 Add Story.can_be_forwarded. 2023-06-27 17:16:22 +03:00
levlam
a53fb1d1ee Fix children type names. 2023-06-26 20:31:26 +03:00
levlam
1217128a50 Remove unneeded string literal additions. 2023-06-26 19:51:04 +03:00
levlam
fcf462b255 Output define TDC_VECTOR once. 2023-06-26 19:33:22 +03:00
levlam
ac018e21b2 Add write_tl_to_multiple_files to allow C++ autogenerated header splitting. 2023-06-26 19:25:40 +03:00
levlam
f4b4893124 Support additional headers in gen_output_begin. 2023-06-26 17:01:19 +03:00
levlam
8f9a4dcaa0 Run TL class generators from auto/ directory. 2023-06-26 15:33:02 +03:00
levlam
496dc3284e Always compare file content before replacing it. 2023-06-26 15:08:36 +03:00
levlam
aab207cdd2 Extract gen_output_begin_once from gen_output_begin. 2023-06-26 13:14:26 +03:00
levlam
d171366faa Add gen_import_declaration to TL_writer. 2023-06-26 11:44:09 +03:00
levlam
bdc8670646 Remove unused TlWriterCCommon field. 2023-06-26 11:25:32 +03:00
levlam
6ce85fdc4f Remove explicit mode parameter from tl_file_utils. 2023-06-26 06:59:19 +03:00
levlam
fe79157056 Fix TlWriterCCommon::gen_forward_class_declaration to generate only forward declarations. 2023-06-26 00:20:40 +03:00
levlam
6f814dc513 Add Story.is_visible_only_for_self. 2023-06-24 23:15:05 +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
a9679cbaab Update addApplicationChangelog documentation. 2023-06-23 13:45:45 +03:00
levlam
b151c1b8b2 Add td_api::pushMessageContentStory. 2023-06-22 21:18:04 +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
4e2e6f6e61 Cache received story viewers. 2023-06-20 15:54:47 +03:00
levlam
ca8b80d198 Add Story.can_get_viewers. 2023-06-19 19:13:08 +03:00
levlam
2ea17ff61a Add td_api::getStoryViewers. 2023-06-18 23:25:50 +03:00
levlam
7935fb183c Add userFullInfo.has_pinned_stories. 2023-06-15 20:53:58 +03:00
levlam
cc14dbb8a1 Add td_api::premiumLimitTypeActiveStoryCount. 2023-06-15 20:38:46 +03:00
levlam
37e5847cc3 Add td_api::closeStory and register opened owned stories. 2023-06-15 18:34:05 +03:00
levlam
f4d8fddddd Add td_api::updateActiveStories. 2023-06-15 13:47:48 +03:00
levlam
59477f8f98 Improve field names. 2023-06-15 13:44:09 +03:00
levlam
eeefafc214 Add td_api::activeStories and return it from getUserActiveStories. 2023-06-14 19:27:08 +03:00
levlam
964471af8b Remove redundant story fields. 2023-06-14 16:37:09 +03:00
levlam
e040b63fd8 Add td_api::openStory. 2023-06-14 15:17:24 +03:00
levlam
62e7640701 Add information about Story to web page. 2023-06-13 15:45:10 +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
96fef663bb Improve inputStoryContentVideo documentation. 2023-06-12 16:25:31 +03:00
levlam
3938aea03b Improve method name. 2023-06-12 16:10:56 +03:00
levlam
c62c84665a Update sendMessage usages in tests and examples. 2023-06-12 15:30:07 +03:00
levlam
ed4d6df307 Add user.has_active_stories. 2023-06-12 15:04:49 +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
6116573a3b Add td_api::MessageReplyTo. 2023-06-07 20:32:52 +03:00
levlam
38b8078779 Update reply_in_chat_id documentation. 2023-06-07 18:39:43 +03:00
levlam
56314c5c79 Add Message.replied_story_sender_user_id/replied_story_id. 2023-06-05 20:45:28 +03:00
levlam
f57ab79f67 Add td_api::internalLinkTypeStory. 2023-06-05 17:56:16 +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
0823f5b169 Add user.stories_are_archived flag. 2023-06-05 15:20:24 +03:00
levlam
a4bd45bd53 Add separate class td_api::storyVideo. 2023-06-05 14:51:32 +03:00
levlam
71faaae22f Support precise video duration. 2023-06-05 14:33:00 +03:00
levlam
3501529a95 Add updateStoryDeleted, 2023-06-01 18:25:59 +03:00