Add custom_emoji_id field to the class Sticker.
This commit is contained in:
parent
a5bc4f214d
commit
1051ad6de0
1 changed files with 4 additions and 0 deletions
|
|
@ -1033,6 +1033,10 @@ class Client::JsonSticker final : public Jsonable {
|
||||||
|
|
||||||
object("type", Client::get_sticker_type(sticker_->type_));
|
object("type", Client::get_sticker_type(sticker_->type_));
|
||||||
|
|
||||||
|
if (sticker_->custom_emoji_id_ != 0) {
|
||||||
|
object("custom_emoji_id", td::to_string(sticker_->custom_emoji_id_));
|
||||||
|
}
|
||||||
|
|
||||||
const auto &mask_position = sticker_->mask_position_;
|
const auto &mask_position = sticker_->mask_position_;
|
||||||
if (mask_position != nullptr) {
|
if (mask_position != nullptr) {
|
||||||
object("mask_position", JsonMaskPosition(mask_position.get()));
|
object("mask_position", JsonMaskPosition(mask_position.get()));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue