Inherits Object.
Represents a sticker set.
Public Fields | |
| 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. The file can be downloaded only before the thumbnail is changed. | |
| object_ptr< outline > | thumbnail_outline_ |
| Sticker set thumbnail's outline; may be null if unknown. | |
| bool | is_owned_ |
| True, if the sticker set is owned by the current user. | |
| 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< StickerType > | sticker_type_ |
| Type of the stickers in the set. | |
| bool | needs_repainting_ |
| True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only. | |
| bool | is_allowed_as_chat_emoji_status_ |
| True, if stickers in the sticker set are custom emoji that can be used as chat emoji status; for custom emoji sticker sets only. | |
| bool | is_viewed_ |
| True for already viewed trending sticker sets. | |
| array< object_ptr< sticker > > | stickers_ |
| List of stickers in this set. | |
| array< object_ptr< emojis > > | emojis_ |
| A list of emojis corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object. | |
Public Instance Methods | |
| stickerSet () | |
| stickerSet (int64 id_, string const &title_, string const &name_, object_ptr< thumbnail > &&thumbnail_, object_ptr< outline > &&thumbnail_outline_, bool is_owned_, bool is_installed_, bool is_archived_, bool is_official_, object_ptr< StickerType > &&sticker_type_, bool needs_repainting_, bool is_allowed_as_chat_emoji_status_, bool is_viewed_, array< object_ptr< sticker >> &&stickers_, array< object_ptr< emojis >> &&emojis_) | |
| 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 = -1783150210 |
| Identifier uniquely determining a type of the object. | |
| stickerSet | ( | ) |
Represents a sticker set.
| stickerSet | ( | int64 | id_, |
| string const & | title_, | ||
| string const & | name_, | ||
| object_ptr< thumbnail > && | thumbnail_, | ||
| object_ptr< outline > && | thumbnail_outline_, | ||
| bool | is_owned_, | ||
| bool | is_installed_, | ||
| bool | is_archived_, | ||
| bool | is_official_, | ||
| object_ptr< StickerType > && | sticker_type_, | ||
| bool | needs_repainting_, | ||
| bool | is_allowed_as_chat_emoji_status_, | ||
| bool | is_viewed_, | ||
| array< object_ptr< sticker >> && | stickers_, | ||
| array< object_ptr< emojis >> && | emojis_ | ||
| ) |
Represents 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. The file can be downloaded only before the thumbnail is changed. |
| [in] | thumbnail_outline_ | Sticker set thumbnail's outline; may be null if unknown. |
| [in] | is_owned_ | True, if the sticker set is owned by the current user. |
| [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_type_ | Type of the stickers in the set. |
| [in] | needs_repainting_ | True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only. |
| [in] | is_allowed_as_chat_emoji_status_ | True, if stickers in the sticker set are custom emoji that can be used as chat emoji status; for custom emoji sticker sets only. |
| [in] | is_viewed_ | True for already viewed trending sticker sets. |
| [in] | stickers_ | List of stickers in this set. |
| [in] | emojis_ | A list of emojis corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object. |
|
finalvirtual |