Commit Graph

26 Commits

Author SHA1 Message Date
levlam
542271a1fd Don't save get_id() to a used-once variable before switch. 2023-12-12 23:20:41 +03:00
levlam
c2999d8557 Minor improvements. 2023-07-13 19:32:54 +03:00
levlam
aed9823659 Fix dup_story_content. 2023-07-05 15:40:08 +03:00
levlam
9345dc2799 Add add_story_dependencies. 2023-07-03 20:03:26 +03:00
levlam
b04eeb4d87 Ignore parsed MessageContent of unknown type. 2023-07-03 15:46:31 +03:00
levlam
4dc1bd4988 Add storer/parser for StoryContent. 2023-07-03 15:42:42 +03:00
levlam
2bf47d0809 Minor fixes. 2023-07-01 16:22:01 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
c34b4c3ef7 Add storyVideo.is_animation. 2023-06-23 16:06:02 +03:00
levlam
55d33a8665 Never merge story content files. 2023-06-13 12:46:31 +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
970173b7f1 Add compare_story_contents function. 2023-06-02 15:54:43 +03:00
levlam
81053032d8 Add dup_story_content. 2023-05-29 23:00:32 +03:00
levlam
e169cfc7f7 Add copy_story_content function. 2023-05-29 20:48:31 +03:00
levlam
936c27577e Check that input content is non-empty inside corresponding functions. 2023-05-25 21:25:16 +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
8c9bf81359 Add StoryManager::delete_story_files. 2023-05-19 17:00:33 +03:00
levlam
0ec13a13e2 Add td_api::story. 2023-05-19 13:41:15 +03:00
levlam
17fc0c3a88 Add separate class for StoryContent. 2023-05-18 17:20:22 +03:00