2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Update API scheme with new cloud themes.

This commit is contained in:
John Preston
2021-10-22 22:14:44 +04:00
parent 045689fab1
commit 97ae094c3c
14 changed files with 383 additions and 300 deletions

View File

@@ -688,7 +688,9 @@ void Histories::deleteAllMessages(
return session().api().request(MTPmessages_DeleteHistory(
MTP_flags(flags),
peer->input,
MTP_int(0)
MTP_int(0),
MTPint(), // min_date
MTPint() // max_date
)).done([=](const MTPmessages_AffectedHistory &result) {
const auto offset = session().api().applyAffectedHistory(
peer,