diff options
| author | levlam <levlam@telegram.org> | 2024-09-30 19:38:58 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-09-30 19:38:58 +0300 |
| commit | 94b4cf79f1c361432d4b7c9575805c4f6603587e (patch) | |
| tree | cc61aaee73520cb6f7acdb8fee55c843d2db3f96 /td/telegram/VideoNotesManager.h | |
| parent | 81f02dd9216a77468c083d58e853bca3bf2b6351 (diff) | |
Use telegram_api::object_ptr with InputFile.
Diffstat (limited to 'td/telegram/VideoNotesManager.h')
| -rw-r--r-- | td/telegram/VideoNotesManager.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/td/telegram/VideoNotesManager.h b/td/telegram/VideoNotesManager.h index d4083b548..a97257a07 100644 --- a/td/telegram/VideoNotesManager.h +++ b/td/telegram/VideoNotesManager.h @@ -42,13 +42,12 @@ class VideoNotesManager final : public Actor { void create_video_note(FileId file_id, string minithumbnail, PhotoSize thumbnail, int32 duration, Dimensions dimensions, string waveform, bool replace); - tl_object_ptr<telegram_api::InputMedia> get_input_media(FileId file_id, - tl_object_ptr<telegram_api::InputFile> input_file, - tl_object_ptr<telegram_api::InputFile> input_thumbnail, - int32 ttl) const; + tl_object_ptr<telegram_api::InputMedia> get_input_media( + FileId file_id, telegram_api::object_ptr<telegram_api::InputFile> input_file, + telegram_api::object_ptr<telegram_api::InputFile> input_thumbnail, int32 ttl) const; SecretInputMedia get_secret_input_media(FileId video_note_file_id, - tl_object_ptr<telegram_api::InputEncryptedFile> input_file, + telegram_api::object_ptr<telegram_api::InputEncryptedFile> input_file, BufferSlice thumbnail, int32 layer) const; FileId get_video_note_thumbnail_file_id(FileId file_id) const; |
