public static class TdApi.PaidReactor extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isAnonymous
True, if the reactor is anonymous.
|
boolean |
isMe
True, if the paid reaction was added by the current user.
|
boolean |
isTop
True, if the reactor is one of the most active reactors; may be false if the reactor is the current user.
|
TdApi.MessageSender |
senderId
Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren't the current user.
|
int |
starCount
Number of Telegram Stars added.
|
| Constructor and Description |
|---|
PaidReactor()
Contains information about a user that added paid reactions.
|
PaidReactor(TdApi.MessageSender senderId,
int starCount,
boolean isTop,
boolean isMe,
boolean isAnonymous)
Contains information about a user that added paid reactions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.MessageSender senderId
public int starCount
public boolean isTop
public boolean isMe
public boolean isAnonymous
public static final int CONSTRUCTOR
public PaidReactor()
public PaidReactor(TdApi.MessageSender senderId, int starCount, boolean isTop, boolean isMe, boolean isAnonymous)
senderId - Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren't the current user.starCount - Number of Telegram Stars added.isTop - True, if the reactor is one of the most active reactors; may be false if the reactor is the current user.isMe - True, if the paid reaction was added by the current user.isAnonymous - True, if the reactor is anonymous.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object