Commit Graph

2030 Commits

Author SHA1 Message Date
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
AYMENJD
b844da31d4 Fix misprint. 2023-05-18 15:00:38 +03:00
levlam
cda4c97b2d Document that changePhoneNumber can be used only by the official mobile apps now. 2023-05-08 13:01:54 +03:00
levlam
bde874c1e7 Fix init_jni_vars for abstract classes. 2023-04-28 16:43:13 +03:00
levlam
288895d984 Fix warning. 2023-04-26 23:10:14 +03:00
levlam
36a45607f2 Use lazy initialization for Java class identifiers to avoid global reference table overflow on some Android 4 devices. 2023-04-26 17:15:53 +03:00
levlam
c62de5138c Simplify fetch for empty td_api objects. 2023-04-26 16:51:41 +03:00
levlam
06a3ec7d7a Improve javadoc. 2023-04-26 16:26:20 +03:00
levlam
65d4a7110c Improve documentation. 2023-04-24 22:25:29 +03:00
levlam
58301570c6 Minor improvements. 2023-04-19 10:38:55 +03:00
levlam
cfe57dbd60 Add td_api::readChatList. 2023-04-14 15:17:25 +03:00
levlam
19502cbe15 Remove separate td_api::hideChatFolderNewChats. 2023-04-12 01:52:36 +03:00
levlam
b4d6b68195 Replace dark_theme_brightness with dark_theme_dimming. 2023-04-12 00:59:53 +03:00
levlam
5df2f3c141 Add inputBackgroundPrevious. 2023-04-12 00:02:42 +03:00
levlam
b130306ce7 Add td_api::setChatBackground. 2023-04-11 17:46:55 +03:00
levlam
00ed2f85b8 Support dark_theme_brightness for chat backgrounds. 2023-04-10 18:45:26 +03:00
levlam
13d0536db1 Add chat.background. 2023-04-10 17:23:21 +03:00
levlam
10562f5bac Add pushMessageContentChatSetBackground. 2023-04-10 15:14:03 +03:00
levlam
0823c902bd Add td_api::messageChatSetBackground. 2023-04-10 14:12:35 +03:00
levlam
a52b6f025f Add td_api::getChatsForChatFolderInviteLink. 2023-04-09 21:54:40 +03:00
levlam
b4676dc57a Various fixes. 2023-04-07 16:02:31 +03:00