Commit Graph

2050 Commits

Author SHA1 Message Date
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
levlam
d929790bad Add td_api::deleteStory. 2023-06-01 17:28:49 +03:00
levlam
7bea5721bf Add updateStory. 2023-06-01 13:55:11 +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
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
0ef9365e02 Add td_api::InputStoryContent. 2023-05-23 16:05:04 +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
f5208dd8bd Add video.preload_prefix_size. 2023-05-19 14:57:57 +03:00
levlam
0ec13a13e2 Add td_api::story. 2023-05-19 13:41:15 +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
a65af73b90 Add User.is_close_friend. 2023-05-03 20:22:16 +03:00
levlam
d7f72e03b0 Add td_api::userPrivacySettingRuleAllowCloseFriends. 2023-05-03 19:42:36 +03:00
levlam
030e440757 Update layer to 160. 2023-05-01 21:07:01 +03:00
levlam
76e2ff1140 Add messageSponsorTypeWebsite. 2023-06-02 15:13:20 +03:00
levlam
2969f570b8 Add class td_api::messageSponsor. 2023-06-02 14:42:28 +03:00
levlam
24d012bc73 Add td_api::searchRecentlyFoundChat. 2023-05-16 21:41:19 +03:00
levlam
96da28d4fb Remove supergroupFullInfo.can_set_username; chat username can be changed by its owner and only by the owner. 2023-05-10 17:17:26 +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
1b891ddc7b Add chatFolderInfo.is_shareable. 2023-04-29 22:04:25 +03:00
levlam
340312e3da Add messageSourceScreenshot and notify about screenshotted codes. 2023-04-28 14:44:35 +03:00
levlam
da813f3ee9 Support updates.difference in on_get_pts_update. 2023-04-27 22:47:45 +03:00
levlam
aa42602701 Add td_api::suggestedActionRestorePremium. 2023-04-25 16:48:16 +03:00
levlam
38efb6d673 Support MessageSenders as poll voters. 2023-04-25 16:41:04 +03:00
levlam
48d72677d3 Update layer to 159. 2023-04-25 14:27:58 +03:00
levlam
31eee9d084 Explicitly pass encoding to htmlspecialchars. 2023-06-05 00:05:21 +03:00
levlam
ad8d1f8964 Explicitly pass flags to htmlspecialchars to have consistent behavior. 2023-06-04 23:10:06 +03:00