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

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

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

Public Member Functions

 availableReactions ()
 
 availableReactions (array< object_ptr< availableReaction > > &&top_reactions_, array< object_ptr< availableReaction > > &&recent_reactions_, array< object_ptr< availableReaction > > &&popular_reactions_, bool allow_custom_emoji_, bool are_tags_, object_ptr< ReactionUnavailabilityReason > &&unavailability_reason_)
 
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< availableReaction > > top_reactions_
 List of reactions to be shown at the top.
 
array< object_ptr< availableReaction > > recent_reactions_
 List of recently used reactions.
 
array< object_ptr< availableReaction > > popular_reactions_
 List of popular reactions.
 
bool allow_custom_emoji_
 True, if any custom emoji reaction can be added by Telegram Premium subscribers.
 
bool are_tags_
 True, if the reactions will be tags and the message can be found by them.
 
object_ptr< ReactionUnavailabilityReasonunavailability_reason_
 The reason why the current user can&#x27;t add reactions to the message, despite some other users can; may be null if none.
 

Static Public Attributes

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

Detailed Description

Represents a list of reactions that can be added to a message.

Definition at line 3467 of file td_api.h.

Constructor & Destructor Documentation

◆ availableReactions() [1/2]

td::td_api::availableReactions::availableReactions ( )

Represents a list of reactions that can be added to a message.

◆ availableReactions() [2/2]

td::td_api::availableReactions::availableReactions ( array< object_ptr< availableReaction > > &&  top_reactions_,
array< object_ptr< availableReaction > > &&  recent_reactions_,
array< object_ptr< availableReaction > > &&  popular_reactions_,
bool  allow_custom_emoji_,
bool  are_tags_,
object_ptr< ReactionUnavailabilityReason > &&  unavailability_reason_ 
)

Represents a list of reactions that can be added to a message.

Parameters
[in]top_reactions_List of reactions to be shown at the top.
[in]recent_reactions_List of recently used reactions.
[in]popular_reactions_List of popular reactions.
[in]allow_custom_emoji_True, if any custom emoji reaction can be added by Telegram Premium subscribers.
[in]are_tags_True, if the reactions will be tags and the message can be found by them.
[in]unavailability_reason_The reason why the current user can&#x27;t add reactions to the message, despite some other users can; may be null if none.

Member Function Documentation

◆ store()

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

◆ allow_custom_emoji_

bool td::td_api::availableReactions::allow_custom_emoji_

True, if any custom emoji reaction can be added by Telegram Premium subscribers.

Definition at line 3484 of file td_api.h.

◆ are_tags_

bool td::td_api::availableReactions::are_tags_

True, if the reactions will be tags and the message can be found by them.

Definition at line 3486 of file td_api.h.

◆ ID

const std::int32_t td::td_api::availableReactions::ID = 912529522
static

Identifier uniquely determining a type of the object.

Definition at line 3508 of file td_api.h.

◆ popular_reactions_

array<object_ptr<availableReaction> > td::td_api::availableReactions::popular_reactions_

List of popular reactions.

Definition at line 3482 of file td_api.h.

◆ recent_reactions_

array<object_ptr<availableReaction> > td::td_api::availableReactions::recent_reactions_

List of recently used reactions.

Definition at line 3480 of file td_api.h.

◆ top_reactions_

array<object_ptr<availableReaction> > td::td_api::availableReactions::top_reactions_

List of reactions to be shown at the top.

Definition at line 3478 of file td_api.h.

◆ unavailability_reason_

object_ptr<ReactionUnavailabilityReason> td::td_api::availableReactions::unavailability_reason_

The reason why the current user can&#x27;t add reactions to the message, despite some other users can; may be null if none.

Definition at line 3488 of file td_api.h.


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