Improve field name.
This commit is contained in:
parent
3422ab1082
commit
2a0f211dfe
@ -310,8 +310,8 @@ stickerFullTypeMask mask_position:maskPosition = StickerFullType;
|
||||
|
||||
//@description The sticker is a custom emoji to be used inside message text and caption. Currently, only Telegram Premium users can use custom emoji
|
||||
//@custom_emoji_id Identifier of the custom emoji
|
||||
//@has_text_color True, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, or another appropriate color in other places
|
||||
stickerFullTypeCustomEmoji custom_emoji_id:int64 has_text_color:Bool = StickerFullType;
|
||||
//@needs_repainting True, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, or another appropriate color in other places
|
||||
stickerFullTypeCustomEmoji custom_emoji_id:int64 needs_repainting:Bool = StickerFullType;
|
||||
|
||||
|
||||
//@description Represents a closed vector path. The path begins at the end point of the last command @commands List of vector path commands
|
||||
|
@ -1181,7 +1181,7 @@ tl_object_ptr<td_api::StickerFullType> copy(const td_api::StickerFullType &obj)
|
||||
}
|
||||
case td_api::stickerFullTypeCustomEmoji::ID: {
|
||||
auto &info = static_cast<const td_api::stickerFullTypeCustomEmoji &>(obj);
|
||||
return td_api::make_object<td_api::stickerFullTypeCustomEmoji>(info.custom_emoji_id_, info.has_text_color_);
|
||||
return td_api::make_object<td_api::stickerFullTypeCustomEmoji>(info.custom_emoji_id_, info.needs_repainting_);
|
||||
}
|
||||
default:
|
||||
UNREACHABLE();
|
||||
|
Loading…
Reference in New Issue
Block a user