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

Inherits Object.

Description

Contains information about a user that added paid reactions.

Public Fields

object_ptr< MessageSendersender_id_
 Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren't the current user.
 
int32 star_count_
 Number of Telegram Stars added.
 
bool is_top_
 True, if the reactor is one of the most active reactors; may be false if the reactor is the current user.
 
bool is_me_
 True, if the paid reaction was added by the current user.
 
bool is_anonymous_
 True, if the reactor is anonymous.
 

Public Instance Methods

 paidReactor ()
 
 paidReactor (object_ptr< MessageSender > &&sender_id_, int32 star_count_, bool is_top_, bool is_me_, bool is_anonymous_)
 
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 = -1657303032
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ paidReactor() [1/2]

Contains information about a user that added paid reactions.

◆ paidReactor() [2/2]

paidReactor ( object_ptr< MessageSender > &&  sender_id_,
int32  star_count_,
bool  is_top_,
bool  is_me_,
bool  is_anonymous_ 
)

Contains information about a user that added paid reactions.

Parameters
[in]sender_id_Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren't the current user.
[in]star_count_Number of Telegram Stars added.
[in]is_top_True, if the reactor is one of the most active reactors; may be false if the reactor is the current user.
[in]is_me_True, if the paid reaction was added by the current user.
[in]is_anonymous_True, if the reactor is anonymous.

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: