tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::stickerSet Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::stickerSet:
td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (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< thumbnailthumbnail_
 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< outlinethumbnail_outline_
 Sticker set thumbnail&#x27;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&#x27;t be installed and archived simultaneously.
 
bool is_official_
 True, if the sticker set is official.
 
object_ptr< StickerTypesticker_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.
 

Static Public Attributes

static const std::int32_t ID = -1783150210
 Identifier uniquely determining a type of the object.
 

Detailed Description

Represents a sticker set.

Definition at line 67499 of file td_api.h.

Constructor & Destructor Documentation

◆ stickerSet() [1/2]

td::td_api::stickerSet::stickerSet ( )

Represents a sticker set.

◆ stickerSet() [2/2]

td::td_api::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_ 
)

Represents 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&#x27;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&#x27;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.

Member Function Documentation

◆ store()

void td::td_api::stickerSet::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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ emojis_

array<object_ptr<emojis> > td::td_api::stickerSet::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.

Definition at line 67538 of file td_api.h.

◆ ID

const std::int32_t td::td_api::stickerSet::ID = -1783150210
static

Identifier uniquely determining a type of the object.

Definition at line 67567 of file td_api.h.

◆ id_

int64 td::td_api::stickerSet::id_

Identifier of the sticker set.

Definition at line 67510 of file td_api.h.

◆ is_allowed_as_chat_emoji_status_

bool td::td_api::stickerSet::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 67532 of file td_api.h.

◆ is_archived_

bool td::td_api::stickerSet::is_archived_

True, if the sticker set has been archived. A sticker set can&#x27;t be installed and archived simultaneously.

Definition at line 67524 of file td_api.h.

◆ is_installed_

bool td::td_api::stickerSet::is_installed_

True, if the sticker set has been installed by the current user.

Definition at line 67522 of file td_api.h.

◆ is_official_

bool td::td_api::stickerSet::is_official_

True, if the sticker set is official.

Definition at line 67526 of file td_api.h.

◆ is_owned_

bool td::td_api::stickerSet::is_owned_

True, if the sticker set is owned by the current user.

Definition at line 67520 of file td_api.h.

◆ is_viewed_

bool td::td_api::stickerSet::is_viewed_

True for already viewed trending sticker sets.

Definition at line 67534 of file td_api.h.

◆ name_

string td::td_api::stickerSet::name_

Name of the sticker set.

Definition at line 67514 of file td_api.h.

◆ needs_repainting_

bool td::td_api::stickerSet::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 67530 of file td_api.h.

◆ sticker_type_

object_ptr<StickerType> td::td_api::stickerSet::sticker_type_

Type of the stickers in the set.

Definition at line 67528 of file td_api.h.

◆ stickers_

array<object_ptr<sticker> > td::td_api::stickerSet::stickers_

List of stickers in this set.

Definition at line 67536 of file td_api.h.

◆ thumbnail_

object_ptr<thumbnail> td::td_api::stickerSet::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 67516 of file td_api.h.

◆ thumbnail_outline_

object_ptr<outline> td::td_api::stickerSet::thumbnail_outline_

Sticker set thumbnail&#x27;s outline; may be null if unknown.

Definition at line 67518 of file td_api.h.

◆ title_

string td::td_api::stickerSet::title_

Title of the sticker set.

Definition at line 67512 of file td_api.h.


The documentation for this class was generated from the following file: