TDLib
Loading...
Searching...
No Matches
internalLinkTypeStickerSet Class Referencefinal

Inherits InternalLinkType.

Description

The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set. If the sticker set is found and the user wants to add it, then call changeStickerSet.

Public Member Functions

 internalLinkTypeStickerSet ()
 internalLinkTypeStickerSet (string const &sticker_set_name_, bool expect_custom_emoji_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

bool expect_custom_emoji_
 True, if the sticker set is expected to contain custom emoji.
string sticker_set_name_
 Name of the sticker set.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ internalLinkTypeStickerSet() [1/2]

internalLinkTypeStickerSet ( )

The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set. If the sticker set is found and the user wants to add it, then call changeStickerSet.

◆ internalLinkTypeStickerSet() [2/2]

internalLinkTypeStickerSet ( string const & sticker_set_name_,
bool expect_custom_emoji_ )

The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set. If the sticker set is found and the user wants to add it, then call changeStickerSet.

Parameters
[in]sticker_set_name_Name of the sticker set.
[in]expect_custom_emoji_True, if the sticker set is expected to contain custom emoji.

Member Function Documentation

◆ 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: