Commit Graph

8523 Commits

Author SHA1 Message Date
levlam
11c353dc7f Add td_api::toggleUserStoriesAreArchived. 2023-06-05 16:07:44 +03:00
levlam
3adf6294dc Fix chat info checks. 2023-06-05 15:30:56 +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
dfeeaf8f87 Avoid restoring of deleted stories. 2023-06-02 16:46:10 +03:00
levlam
ede8911f05 Improve updateStpry updates during story edit. 2023-06-02 16:12:18 +03:00
levlam
970173b7f1 Add compare_story_contents function. 2023-06-02 15:54:43 +03:00
levlam
3501529a95 Add updateStoryDeleted, 2023-06-01 18:25:59 +03:00
levlam
7ca2061848 Add DeleteStoryOnServerLogEvent. 2023-06-01 17:41:46 +03:00
levlam
d929790bad Add td_api::deleteStory. 2023-06-01 17:28:49 +03:00
levlam
eec9826dec Process telegram_api::updateStory updates. 2023-06-01 16:27:00 +03:00
levlam
7bea5721bf Add updateStory. 2023-06-01 13:55:11 +03:00
levlam
bf4694db65 Improve error messages. 2023-05-30 15:02:42 +03:00
levlam
0e2fcdde77 Destroy big StoryManager fields asynchronously. 2023-05-30 14:44:30 +03:00
levlam
3a6494dd65 Add td_api::editStory. 2023-05-30 14:41:36 +03:00
levlam
81053032d8 Add dup_story_content. 2023-05-29 23:00:32 +03:00
levlam
a0fd771da8 Add StoryId::is_server(). 2023-05-29 21:43:03 +03:00
levlam
e169cfc7f7 Add copy_story_content function. 2023-05-29 20:48:31 +03:00
levlam
77ab0f45c1 Add td_api::toggleStoryIsPinned. 2023-05-26 14:21:36 +03:00
levlam
936c27577e Check that input content is non-empty inside corresponding functions. 2023-05-25 21:25:16 +03:00
levlam
2684df5f01 Support story reupload in sendStory. 2023-05-25 21:21:10 +03:00
levlam
cdb36baa85 tg_cli: improve story sending. 2023-05-25 21:10:02 +03:00
levlam
dab66ef541 Pass PendingStory to do_send_story. 2023-05-25 21:09:31 +03:00
levlam
85e8116a4b tg_cli: add class PrivacyRules. 2023-05-25 18:38:15 +03:00
levlam
eb1581a233 Add td_api::setStoryPrivacyRules. 2023-05-25 18:18:28 +03:00
levlam
173ba06d62 Support FILE_PART_MISSING errors for stories. 2023-05-25 15:46:04 +03:00
levlam
04764cbc2e Delete partial remote location of uploaded stories. 2023-05-25 15:21:43 +03:00
levlam
c73ae5c781 Add td_api::sendStory. 2023-05-25 15:03:29 +03:00
levlam
b27b9caa89 Add FileType::VideoStory. 2023-05-25 14:19:54 +03:00
levlam
b88312dda1 Add FileType::PhotoStory. 2023-05-25 01:26:26 +03:00
levlam
d2ef7d67a7 Add get_story_content_input_media. 2023-05-24 19:35:45 +03:00
levlam
2b74fb9542 Add get_story_content_any_file_id. 2023-05-24 17:24:36 +03:00
levlam
41da14fd17 Add and use get_story_content_duration. 2023-05-24 16:23:05 +03:00
levlam
9610b06abc Fix error logging. 2023-05-24 15:46:53 +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
a247dd60ba Support file reference repair for stories. 2023-05-20 01:23:33 +03:00
levlam
963091c0cf Add StoryManager::reload_story. 2023-05-19 23:34:08 +03:00
levlam
0b8c71419f Add StoryManager::on_get_stories. 2023-05-19 23:25:52 +03:00
levlam
8c9bf81359 Add StoryManager::delete_story_files. 2023-05-19 17:00:33 +03:00
levlam
88620d1347 Add G()->story_manager(). 2023-05-19 16:20:19 +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
c202439a04 Add class StoryFullId. 2023-05-18 19:57:50 +03:00
levlam
50a0ae50af Add class StoryInteractionInfo. 2023-05-18 18:41:07 +03:00
levlam
17fc0c3a88 Add separate class for StoryContent. 2023-05-18 17:20:22 +03:00
levlam
0fb5916ea2 Support simultaneous setUserPrivacySettingRules queries. 2023-05-08 20:54:35 +03:00
levlam
59a1ab6cc1 Improve PrivacyInfo field names. 2023-05-08 20:35:47 +03:00