Mark that td_api::getDefault*Stickers are allowed only for users.
This commit is contained in:
parent
522d54483c
commit
df1e95a57d
@ -7975,11 +7975,13 @@ void Td::on_request(uint64 id, const td_api::getCustomEmojiStickers &request) {
|
||||
}
|
||||
|
||||
void Td::on_request(uint64 id, const td_api::getDefaultChatPhotoCustomEmojiStickers &request) {
|
||||
CHECK_IS_USER();
|
||||
CREATE_REQUEST_PROMISE();
|
||||
stickers_manager_->get_default_dialog_photo_custom_emoji_stickers(false, false, std::move(promise));
|
||||
}
|
||||
|
||||
void Td::on_request(uint64 id, const td_api::getDefaultProfilePhotoCustomEmojiStickers &request) {
|
||||
CHECK_IS_USER();
|
||||
CREATE_REQUEST_PROMISE();
|
||||
stickers_manager_->get_default_dialog_photo_custom_emoji_stickers(true, false, std::move(promise));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user