List of all members | Public Fields | Public Instance Methods | Static Public Attributes
stickerSet Class Referencefinal

Inherits Object.

Description

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< thumbnailthumbnail_
 Sticker set thumbnail in WEBP or TGS format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed.
 
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.
 
bool is_animated_
 True, is the stickers in the set are animated.
 
bool is_masks_
 True, if the stickers in the set are masks.
 
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 emoji 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_, array< object_ptr< closedVectorPath >> &&thumbnail_outline_, bool is_installed_, bool is_archived_, bool is_official_, bool is_animated_, bool is_masks_, bool is_viewed_, array< object_ptr< sticker >> &&stickers_, array< object_ptr< emojis >> &&emojis_)
 
std::int32_t get_id () const final
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ stickerSet() [1/2]

Represents a sticker set.

◆ stickerSet() [2/2]

stickerSet ( 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_,
bool  is_animated_,
bool  is_masks_,
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 or TGS 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 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]is_animated_True, is the stickers in the set are animated.
[in]is_masks_True, if the stickers in the set are masks.
[in]is_viewed_True for already viewed trending sticker sets.
[in]stickers_List of stickers in this set.
[in]emojis_A list of emoji 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.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void 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 TlObject.


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