Update API scheme on layer 135.

This commit is contained in:
John Preston
2021-11-19 23:04:40 +04:00
parent 7d89952541
commit 4f7c728632
19 changed files with 141 additions and 104 deletions
@@ -367,7 +367,8 @@ StickerSetBox::Inner::Inner(
, _input(set)
, _previewTimer([=] { showPreview(); }) {
_api.request(MTPmessages_GetStickerSet(
Data::InputStickerSet(_input)
Data::InputStickerSet(_input),
MTP_int(0) // hash
)).done([=](const MTPmessages_StickerSet &result) {
gotSet(result);
}).fail([=](const MTP::Error &error) {
@@ -463,6 +464,8 @@ void StickerSetBox::Inner::gotSet(const MTPmessages_StickerSet &set) {
set->setThumbnail(_setThumbnail);
}
});
}, [&](const MTPDmessages_stickerSetNotModified &data) {
LOG(("API Error: Unexpected messages.stickerSetNotModified."));
});
if (_pack.isEmpty()) {