|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| stickerSetInfo () | |
| stickerSetInfo (int64 id_, string const &title_, string const &name_, object_ptr< thumbnail > &&thumbnail_, array< object_ptr< closedVectorPath > > &&thumbnail_outline_, bool is_installed_, bool is_archived_, bool is_official_, object_ptr< StickerFormat > &&sticker_format_, object_ptr< StickerType > &&sticker_type_, bool is_viewed_, int32 size_, array< object_ptr< sticker > > &&covers_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::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 |
Public Attributes | |
| int64 | id_ |
| Identifier of the sticker set. | |
| string | title_ |
| Title of the sticker set. | |
| string | name_ |
| Name of the sticker set. | |
| object_ptr< thumbnail > | thumbnail_ |
| Sticker set thumbnail in WEBP, TGS, or WEBM format with width and height 100; may be null. | |
| array< object_ptr< closedVectorPath > > | thumbnail_outline_ |
| Sticker set thumbnail's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner. | |
| bool | is_installed_ |
| True, if the sticker set has been installed by the current user. | |
| bool | is_archived_ |
| True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously. | |
| bool | is_official_ |
| True, if the sticker set is official. | |
| object_ptr< StickerFormat > | sticker_format_ |
| Format of the stickers in the set. | |
| object_ptr< StickerType > | sticker_type_ |
| Type of the stickers in the set. | |
| bool | is_viewed_ |
| True for already viewed trending sticker sets. | |
| int32 | size_ |
| Total number of stickers in the set. | |
| array< object_ptr< sticker > > | covers_ |
| Up to the first 5 stickers from the set, depending on the context. If the application needs more stickers the full sticker set needs to be requested. | |
Static Public Attributes | |
| static const std::int32_t | ID = 745543121 |
| Identifier uniquely determining a type of the object. | |
Represents short information about a sticker set.
| td::td_api::stickerSetInfo::stickerSetInfo | ( | ) |
Represents short information about a sticker set.
| td::td_api::stickerSetInfo::stickerSetInfo | ( | int64 | id_, |
| string const & | title_, | ||
| string const & | name_, | ||
| object_ptr< thumbnail > && | thumbnail_, | ||
| array< object_ptr< closedVectorPath > > && | thumbnail_outline_, | ||
| bool | is_installed_, | ||
| bool | is_archived_, | ||
| bool | is_official_, | ||
| object_ptr< StickerFormat > && | sticker_format_, | ||
| object_ptr< StickerType > && | sticker_type_, | ||
| bool | is_viewed_, | ||
| int32 | size_, | ||
| array< object_ptr< sticker > > && | covers_ | ||
| ) |
Represents short information about a sticker set.
| [in] | id_ | Identifier of the sticker set. |
| [in] | title_ | Title of the sticker set. |
| [in] | name_ | Name of the sticker set. |
| [in] | thumbnail_ | Sticker set thumbnail in WEBP, TGS, or WEBM format with width and height 100; may be null. |
| [in] | thumbnail_outline_ | Sticker set thumbnail's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner. |
| [in] | is_installed_ | True, if the sticker set has been installed by the current user. |
| [in] | is_archived_ | True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously. |
| [in] | is_official_ | True, if the sticker set is official. |
| [in] | sticker_format_ | Format of the stickers in the set. |
| [in] | sticker_type_ | Type of the stickers in the set. |
| [in] | is_viewed_ | True for already viewed trending sticker sets. |
| [in] | size_ | Total number of stickers in the set. |
| [in] | covers_ | Up to the first 5 stickers from the set, depending on the context. If the application needs more stickers the full sticker set needs to be requested. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.