2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Update API scheme.

This commit is contained in:
John Preston
2020-12-22 17:48:50 +04:00
parent 31417fd005
commit d16bc36bae
6 changed files with 28 additions and 46 deletions

View File

@@ -182,7 +182,8 @@ void SendExistingDocument(
return MTP_inputMediaDocument(
MTP_flags(0),
document->mtpInput(),
MTPint());
MTPint(), // ttl_seconds
MTPstring()); // query
};
SendExistingMedia(
std::move(message),