diff options
| author | levlam <levlam@telegram.org> | 2022-10-20 23:23:40 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-10-20 23:23:40 +0300 |
| commit | 0d05683771475f5861f8c3a5a464ccbe514c5bb6 (patch) | |
| tree | d72776614bf966b8426e40a583fbe11fb7e2885c /td/telegram/VideoNotesManager.h | |
| parent | 14b80ecd6fdbfaadaa95987acf2206d06dfc92c9 (diff) | |
Support waveform for video notes.
Diffstat (limited to 'td/telegram/VideoNotesManager.h')
| -rw-r--r-- | td/telegram/VideoNotesManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/td/telegram/VideoNotesManager.h b/td/telegram/VideoNotesManager.h index f97dbf1b7..60160532f 100644 --- a/td/telegram/VideoNotesManager.h +++ b/td/telegram/VideoNotesManager.h @@ -41,7 +41,7 @@ class VideoNotesManager final : public Actor { tl_object_ptr<td_api::videoNote> get_video_note_object(FileId file_id) const; void create_video_note(FileId file_id, string minithumbnail, PhotoSize thumbnail, int32 duration, - Dimensions dimensions, bool replace); + Dimensions dimensions, string waveform, bool replace); void register_video_note(FileId video_note_file_id, FullMessageId full_message_id, const char *source); @@ -78,6 +78,7 @@ class VideoNotesManager final : public Actor { public: int32 duration = 0; Dimensions dimensions; + string waveform; string minithumbnail; PhotoSize thumbnail; unique_ptr<TranscriptionInfo> transcription_info; |
