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

Inherits Function.

Description

Searches for a sticker set by its name.

Returns object_ptr<StickerSet>.

Public Types

using ReturnType = object_ptr<stickerSet>
 Typedef for the type returned by the function.

Public Member Functions

 searchStickerSet ()
 searchStickerSet (string const &name_, bool ignore_cache_)
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 ignore_cache_
 Pass true to ignore local cache of sticker sets and always send a network request.
string name_
 Name of the sticker set.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ searchStickerSet() [1/2]

searchStickerSet ( )

Default constructor for a function, which searches for a sticker set by its name.

Returns object_ptr<StickerSet>.

◆ searchStickerSet() [2/2]

searchStickerSet ( string const & name_,
bool ignore_cache_ )

Creates a function, which searches for a sticker set by its name.

Returns object_ptr<StickerSet>.

Parameters
[in]name_Name of the sticker set.
[in]ignore_cache_Pass true to ignore local cache of sticker sets and always send a network request.

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: