tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::messageEffect Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::messageEffect:
td::td_api::Object td::TlObject

Public Member Functions

 messageEffect ()
 
 messageEffect (int64 id_, object_ptr< sticker > &&static_icon_, string const &emoji_, bool is_premium_, object_ptr< MessageEffectType > &&type_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::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
 

Public Attributes

int64 id_
 Unique identifier of the effect.
 
object_ptr< stickerstatic_icon_
 Static icon for the effect in WEBP format; may be null if none.
 
string emoji_
 Emoji corresponding to the effect that can be used if static icon isn&#x27;t available.
 
bool is_premium_
 True, if Telegram Premium subscription is required to use the effect.
 
object_ptr< MessageEffectTypetype_
 Type of the effect.
 

Static Public Attributes

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

Detailed Description

Contains information about an effect added to a message.

Definition at line 43396 of file td_api.h.

Constructor & Destructor Documentation

◆ messageEffect() [1/2]

td::td_api::messageEffect::messageEffect ( )

Contains information about an effect added to a message.

◆ messageEffect() [2/2]

td::td_api::messageEffect::messageEffect ( int64  id_,
object_ptr< sticker > &&  static_icon_,
string const &  emoji_,
bool  is_premium_,
object_ptr< MessageEffectType > &&  type_ 
)

Contains information about an effect added to a message.

Parameters
[in]id_Unique identifier of the effect.
[in]static_icon_Static icon for the effect in WEBP format; may be null if none.
[in]emoji_Emoji corresponding to the effect that can be used if static icon isn&#x27;t available.
[in]is_premium_True, if Telegram Premium subscription is required to use the effect.
[in]type_Type of the effect.

Member Function Documentation

◆ store()

void td::td_api::messageEffect::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 td::TlObject.

Member Data Documentation

◆ emoji_

string td::td_api::messageEffect::emoji_

Emoji corresponding to the effect that can be used if static icon isn&#x27;t available.

Definition at line 43411 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageEffect::ID = -1758836433
static

Identifier uniquely determining a type of the object.

Definition at line 43434 of file td_api.h.

◆ id_

int64 td::td_api::messageEffect::id_

Unique identifier of the effect.

Definition at line 43407 of file td_api.h.

◆ is_premium_

bool td::td_api::messageEffect::is_premium_

True, if Telegram Premium subscription is required to use the effect.

Definition at line 43413 of file td_api.h.

◆ static_icon_

object_ptr<sticker> td::td_api::messageEffect::static_icon_

Static icon for the effect in WEBP format; may be null if none.

Definition at line 43409 of file td_api.h.

◆ type_

object_ptr<MessageEffectType> td::td_api::messageEffect::type_

Type of the effect.

Definition at line 43415 of file td_api.h.


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