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::messageReactions Class Referencefinal

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

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

Public Member Functions

 messageReactions ()
 
 messageReactions (array< object_ptr< messageReaction > > &&reactions_, bool are_tags_, array< object_ptr< paidReactor > > &&paid_reactors_, bool can_get_added_reactions_)
 
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

array< object_ptr< messageReaction > > reactions_
 List of added reactions.
 
bool are_tags_
 True, if the reactions are tags and Telegram Premium users can filter messages by them.
 
array< object_ptr< paidReactor > > paid_reactors_
 Information about top users that added the paid reaction.
 
bool can_get_added_reactions_
 True, if the list of added reactions is available using getMessageAddedReactions.
 

Static Public Attributes

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

Detailed Description

Contains a list of reactions added to a message.

Definition at line 44377 of file td_api.h.

Constructor & Destructor Documentation

◆ messageReactions() [1/2]

td::td_api::messageReactions::messageReactions ( )

Contains a list of reactions added to a message.

◆ messageReactions() [2/2]

td::td_api::messageReactions::messageReactions ( array< object_ptr< messageReaction > > &&  reactions_,
bool  are_tags_,
array< object_ptr< paidReactor > > &&  paid_reactors_,
bool  can_get_added_reactions_ 
)

Contains a list of reactions added to a message.

Parameters
[in]reactions_List of added reactions.
[in]are_tags_True, if the reactions are tags and Telegram Premium users can filter messages by them.
[in]paid_reactors_Information about top users that added the paid reaction.
[in]can_get_added_reactions_True, if the list of added reactions is available using getMessageAddedReactions.

Member Function Documentation

◆ store()

void td::td_api::messageReactions::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

◆ are_tags_

bool td::td_api::messageReactions::are_tags_

True, if the reactions are tags and Telegram Premium users can filter messages by them.

Definition at line 44390 of file td_api.h.

◆ can_get_added_reactions_

bool td::td_api::messageReactions::can_get_added_reactions_

True, if the list of added reactions is available using getMessageAddedReactions.

Definition at line 44394 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageReactions::ID = 1475966817
static

Identifier uniquely determining a type of the object.

Definition at line 44412 of file td_api.h.

◆ paid_reactors_

array<object_ptr<paidReactor> > td::td_api::messageReactions::paid_reactors_

Information about top users that added the paid reaction.

Definition at line 44392 of file td_api.h.

◆ reactions_

array<object_ptr<messageReaction> > td::td_api::messageReactions::reactions_

List of added reactions.

Definition at line 44388 of file td_api.h.


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