Commit Graph

2299 Commits

Author SHA1 Message Date
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