Inherits Object.
Contains information about a user that added paid reactions.
Public Fields | |
object_ptr< MessageSender > | sender_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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1657303032 |
Identifier uniquely determining a type of the object. | |
paidReactor | ( | ) |
Contains information about a user that added paid reactions.
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.
[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. |
|
finalvirtual |