Commit Graph

10581 Commits

Author SHA1 Message Date
levlam
d51ad4f4e9 Update media timestamps in replied messages when story changes. 2023-06-09 14:16:56 +03:00
levlam
0b842dec1e Register media timestamp replies to stories. 2023-06-09 14:08:16 +03:00
levlam
7c386ca353 Support media timestamps in message that a replies to stories. 2023-06-09 13:25:52 +03:00
levlam
48f97c3216 Support dropping of the replied story. 2023-06-08 20:32:57 +03:00
levlam
607ffad07f Ignore is_pinned flag for scheduled messages. 2023-06-08 19:13:53 +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
b19b4a3e4f Improve handling of expired messages. 2023-06-07 17:00:37 +03:00
levlam
3a20137c03 Use StoryFullId for replied story. 2023-06-07 15:10:46 +03:00
levlam
457511dca9 Add StoryManager::is_inaccessible_story. 2023-06-06 16:11:12 +03:00
levlam
f869eca9c4 Add StoryManager::get_story_duration. 2023-06-06 16:07:29 +03:00
levlam
f4a2dbde41 Add StoryManager::have_story. 2023-06-06 15:58:27 +03:00
levlam
114c92f365 Store replied story sender as DialogId. 2023-06-06 15:56:09 +03:00
levlam
56314c5c79 Add Message.replied_story_sender_user_id/replied_story_id. 2023-06-05 20:45:28 +03:00
levlam
e7ca635db9 Improve MessageReplyHeader field names. 2023-06-05 19:45:05 +03:00
levlam
2467633a74 Support replies to stories in UpdatesManager::is_acceptable_message_reply_header. 2023-06-05 19:29:38 +03:00
levlam
b82d711508 Ignore STORY_NOT_MODIFIED errors for regular users. 2023-06-05 18:28:21 +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
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