2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Update API scheme.

This commit is contained in:
John Preston
2021-02-12 14:59:51 +04:00
parent 18d62c070d
commit 73ae29ae25
7 changed files with 30 additions and 17 deletions

View File

@@ -607,6 +607,7 @@ void Histories::deleteAllMessages(
}).send();
} else if (channel) {
return session().api().request(MTPchannels_DeleteHistory(
MTP_flags(0),
channel->inputChannel,
MTP_int(deleteTillId)
)).done([=](const MTPBool &result) {