mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Update API scheme on layer 135.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user