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

Update API scheme on layer 140.

This commit is contained in:
John Preston
2022-03-28 18:02:54 +04:00
parent 20bdbf531a
commit df15ff9f8e
18 changed files with 157 additions and 66 deletions

View File

@@ -642,6 +642,7 @@ void Histories::deleteAllMessages(
}).send();
} else if (channel) {
return session().api().request(MTPchannels_DeleteHistory(
MTP_flags(0),
channel->inputChannel,
MTP_int(deleteTillId)
)).done(finish).fail(finish).send();