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

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

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

Public Member Functions

 paidReactor ()
 
 paidReactor (object_ptr< MessageSender > &&sender_id_, int53 star_count_, bool is_top_, bool is_me_, bool is_anonymous_)
 
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

object_ptr< MessageSendersender_id_
 Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren&#x27;t the current user.
 
int53 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.
 

Static Public Attributes

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

Detailed Description

Contains information about a user who added paid reactions.

Definition at line 49318 of file td_api.h.

Constructor & Destructor Documentation

◆ paidReactor() [1/2]

td::td_api::paidReactor::paidReactor ( )

Contains information about a user who added paid reactions.

◆ paidReactor() [2/2]

td::td_api::paidReactor::paidReactor ( object_ptr< MessageSender > &&  sender_id_,
int53  star_count_,
bool  is_top_,
bool  is_me_,
bool  is_anonymous_ 
)

Contains information about a user who 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&#x27;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.

Member Function Documentation

◆ store()

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

◆ ID

const std::int32_t td::td_api::paidReactor::ID = -748917113
static

Identifier uniquely determining a type of the object.

Definition at line 49356 of file td_api.h.

◆ is_anonymous_

bool td::td_api::paidReactor::is_anonymous_

True, if the reactor is anonymous.

Definition at line 49337 of file td_api.h.

◆ is_me_

bool td::td_api::paidReactor::is_me_

True, if the paid reaction was added by the current user.

Definition at line 49335 of file td_api.h.

◆ is_top_

bool td::td_api::paidReactor::is_top_

True, if the reactor is one of the most active reactors; may be false if the reactor is the current user.

Definition at line 49333 of file td_api.h.

◆ sender_id_

object_ptr<MessageSender> td::td_api::paidReactor::sender_id_

Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren&#x27;t the current user.

Definition at line 49329 of file td_api.h.

◆ star_count_

int53 td::td_api::paidReactor::star_count_

Number of Telegram Stars added.

Definition at line 49331 of file td_api.h.


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