2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

PoC video messages sending.

This commit is contained in:
John Preston
2024-10-04 14:38:49 +04:00
parent 4dc7fd8cd1
commit 552343fa37
22 changed files with 1278 additions and 209 deletions

View File

@@ -3502,6 +3502,7 @@ void ApiWrap::sendVoiceMessage(
QByteArray result,
VoiceWaveform waveform,
crl::time duration,
bool video,
const SendAction &action) {
const auto caption = TextWithTags();
const auto to = FileLoadTaskOptions(action);
@@ -3510,6 +3511,7 @@ void ApiWrap::sendVoiceMessage(
result,
duration,
waveform,
video,
to,
caption));
}