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

Inherits Function.

Description

Returns outline of a sticker; this is an offline request. Returns a 404 error if the outline isn't known.

Returns object_ptr<Outline>.

Public Fields

int32 sticker_file_id_
 File identifier of the sticker.
 
bool for_animated_emoji_
 Pass true to get the outline scaled for animated emoji.
 
bool for_clicked_animated_emoji_message_
 Pass true to get the outline scaled for clicked animated emoji message.
 

Public Types

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

Public Instance Methods

 getStickerOutline ()
 
 getStickerOutline (int32 sticker_file_id_, bool for_animated_emoji_, bool for_clicked_animated_emoji_message_)
 
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 = -1550504539
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ getStickerOutline() [1/2]

Default constructor for a function, which returns outline of a sticker; this is an offline request. Returns a 404 error if the outline isn't known.

Returns object_ptr<Outline>.

◆ getStickerOutline() [2/2]

getStickerOutline ( int32  sticker_file_id_,
bool  for_animated_emoji_,
bool  for_clicked_animated_emoji_message_ 
)

Creates a function, which returns outline of a sticker; this is an offline request. Returns a 404 error if the outline isn't known.

Returns object_ptr<Outline>.

Parameters
[in]sticker_file_id_File identifier of the sticker.
[in]for_animated_emoji_Pass true to get the outline scaled for animated emoji.
[in]for_clicked_animated_emoji_message_Pass true to get the outline scaled for clicked animated emoji message.

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