#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | stickerSetInfo () |
| |
| | stickerSetInfo (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_, int32 size_, array< object_ptr< sticker > > &&covers_) |
| |
| 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_ |
| | 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.
|
| |
| 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 const std::int32_t | ID = -1649074729 |
| | Identifier uniquely determining a type of the object.
|
| |
Represents short information about a sticker set.
Definition at line 67588 of file td_api.h.
◆ stickerSetInfo() [1/2]
| td::td_api::stickerSetInfo::stickerSetInfo |
( |
| ) |
|
Represents short information about a sticker set.
◆ stickerSetInfo() [2/2]
| td::td_api::stickerSetInfo::stickerSetInfo |
( |
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_, |
|
|
int32 |
size_, |
|
|
array< object_ptr< sticker > > && |
covers_ |
|
) |
| |
Represents short information about a sticker set.
- Parameters
-
| [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] | 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. |
◆ store()
| void td::td_api::stickerSetInfo::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.
◆ 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.
Definition at line 67627 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::stickerSetInfo::ID = -1649074729 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 67656 of file td_api.h.
◆ id_
| int64 td::td_api::stickerSetInfo::id_ |
Identifier of the sticker set.
Definition at line 67599 of file td_api.h.
◆ is_allowed_as_chat_emoji_status_
| bool td::td_api::stickerSetInfo::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.
Definition at line 67621 of file td_api.h.
◆ is_archived_
| bool td::td_api::stickerSetInfo::is_archived_ |
True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously.
Definition at line 67613 of file td_api.h.
◆ is_installed_
| bool td::td_api::stickerSetInfo::is_installed_ |
True, if the sticker set has been installed by the current user.
Definition at line 67611 of file td_api.h.
◆ is_official_
| bool td::td_api::stickerSetInfo::is_official_ |
True, if the sticker set is official.
Definition at line 67615 of file td_api.h.
◆ is_owned_
| bool td::td_api::stickerSetInfo::is_owned_ |
True, if the sticker set is owned by the current user.
Definition at line 67609 of file td_api.h.
◆ is_viewed_
| bool td::td_api::stickerSetInfo::is_viewed_ |
True for already viewed trending sticker sets.
Definition at line 67623 of file td_api.h.
◆ name_
| string td::td_api::stickerSetInfo::name_ |
Name of the sticker set.
Definition at line 67603 of file td_api.h.
◆ needs_repainting_
| bool td::td_api::stickerSetInfo::needs_repainting_ |
True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only.
Definition at line 67619 of file td_api.h.
◆ size_
| int32 td::td_api::stickerSetInfo::size_ |
Total number of stickers in the set.
Definition at line 67625 of file td_api.h.
◆ sticker_type_
Type of the stickers in the set.
Definition at line 67617 of file td_api.h.
◆ 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.
Definition at line 67605 of file td_api.h.
◆ thumbnail_outline_
Sticker set thumbnail's outline; may be null if unknown.
Definition at line 67607 of file td_api.h.
◆ title_
| string td::td_api::stickerSetInfo::title_ |
Title of the sticker set.
Definition at line 67601 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h