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

Inherits Function.

Description

Returns outline of a sticker as an SVG path. This is an offline method. Returns an empty string if the outline isn't known.

Returns object_ptr<Text>.

Public Types

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

Public Member Functions

 getStickerOutlineSvgPath ()
 getStickerOutlineSvgPath (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 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 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.
int32 sticker_file_id_
 File identifier of the sticker.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ getStickerOutlineSvgPath() [1/2]

getStickerOutlineSvgPath ( )

Default constructor for a function, which returns outline of a sticker as an SVG path. This is an offline method. Returns an empty string if the outline isn't known.

Returns object_ptr<Text>.

◆ getStickerOutlineSvgPath() [2/2]

getStickerOutlineSvgPath ( int32 sticker_file_id_,
bool for_animated_emoji_,
bool for_clicked_animated_emoji_message_ )

Creates a function, which returns outline of a sticker as an SVG path. This is an offline method. Returns an empty string if the outline isn't known.

Returns object_ptr<Text>.

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.

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: