Inherits td::td_api::Object.
|
| | sticker () |
| |
| | sticker (int64 id_, int64 set_id_, int32 width_, int32 height_, string const &emoji_, object_ptr< StickerFormat > &&format_, object_ptr< StickerFullType > &&full_type_, array< object_ptr< closedVectorPath > > &&outline_, object_ptr< thumbnail > &&thumbnail_, object_ptr< file > &&sticker_) |
| |
| std::int32_t | get_id () const final |
| |
| void | store (TlStorerToString &s, const char *field_name) const final |
| |
| 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 |
| |
|
|
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.
|
| |
|
array< object_ptr< closedVectorPath > > | outline_ |
| | Sticker's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.
|
| |
|
object_ptr< thumbnail > | thumbnail_ |
| | Sticker thumbnail in WEBP or JPEG format; may be null.
|
| |
|
object_ptr< file > | sticker_ |
| | File containing the sticker.
|
| |
|
|
static const std::int32_t | ID = 1155605331 |
| | Identifier uniquely determining a type of the object.
|
| |
◆ sticker() [1/2]
| td::td_api::sticker::sticker |
( |
| ) |
|
◆ sticker() [2/2]
Describes a sticker.
- Parameters
-
| [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] | outline_ | Sticker's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner. |
| [in] | thumbnail_ | Sticker thumbnail in WEBP or JPEG format; may be null. |
| [in] | sticker_ | File containing the sticker. |
◆ get_id()
| std::int32_t td::td_api::sticker::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
| void td::td_api::sticker::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: