Inherits Object.
Describes a sticker.
Public Fields | |
int64 | id_ |
Unique sticker identifier within the set; 0 if none. | |
int64 | set_id_ |
Identifier of the sticker set to which the sticker belongs; 0 if none. | |
int32 | width_ |
Sticker width; as defined by the sender. | |
int32 | height_ |
Sticker height; as defined by the sender. | |
string | emoji_ |
Emoji corresponding to the sticker. | |
object_ptr< StickerFormat > | format_ |
Sticker format. | |
object_ptr< StickerFullType > | full_type_ |
Sticker's full type. | |
object_ptr< thumbnail > | thumbnail_ |
Sticker thumbnail in WEBP or JPEG format; may be null. | |
object_ptr< file > | sticker_ |
File containing the sticker. | |
Public Instance Methods | |
sticker () | |
sticker (int64 id_, int64 set_id_, int32 width_, int32 height_, string const &emoji_, object_ptr< StickerFormat > &&format_, object_ptr< StickerFullType > &&full_type_, object_ptr< thumbnail > &&thumbnail_, object_ptr< file > &&sticker_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -647013057 |
Identifier uniquely determining a type of the object. | |
sticker | ( | ) |
Describes a sticker.
sticker | ( | int64 | id_, |
int64 | set_id_, | ||
int32 | width_, | ||
int32 | height_, | ||
string const & | emoji_, | ||
object_ptr< StickerFormat > && | format_, | ||
object_ptr< StickerFullType > && | full_type_, | ||
object_ptr< thumbnail > && | thumbnail_, | ||
object_ptr< file > && | sticker_ | ||
) |
Describes a sticker.
[in] | id_ | Unique sticker identifier within the set; 0 if none. |
[in] | set_id_ | Identifier of the sticker set to which the sticker belongs; 0 if none. |
[in] | width_ | Sticker width; as defined by the sender. |
[in] | height_ | Sticker height; as defined by the sender. |
[in] | emoji_ | Emoji corresponding to the sticker. |
[in] | format_ | Sticker format. |
[in] | full_type_ | Sticker's full type. |
[in] | thumbnail_ | Sticker thumbnail in WEBP or JPEG format; may be null. |
[in] | sticker_ | File containing the sticker. |
|
finalvirtual |