Commit Graph

10598 Commits

Author SHA1 Message Date
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
levlam
021aa7fac7 Add class Story. 2023-05-08 20:09:01 +03:00
levlam
76321fd9b4 Add storer for UserPrivacySettingRules. 2023-05-08 18:30:44 +03:00
levlam
a05940b705 Make PrivacyManager an ordinary manager. 2023-05-08 15:23:57 +03:00
levlam
65e01ad063 Ignore errors when processing telegram_api::PrivacyRule. 2023-05-08 14:54:57 +03:00
levlam
95f2961c9b Move UserPrivacySetting to a separate header. 2023-05-08 14:41:08 +03:00
levlam
c4504af340 Explicitly pass Td to UserPrivacySettingRule. 2023-05-08 14:15:32 +03:00
levlam
586586d50c Move UserPrivacySettingRule to a separate header. 2023-05-08 13:50:51 +03:00
levlam
0030ae30f8 Locally update close friends after changing them. 2023-05-04 18:42:18 +03:00
levlam
161cc91acf Add td_api::setCloseFriends. 2023-05-04 18:27:03 +03:00
levlam
86946c6b1e Reload once contacts to repair close friends. 2023-05-03 20:55:28 +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