Package org.drinkless.tdlib
Class TdApi.PaidReactor
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PaidReactor
- Enclosing class:
- TdApi
Contains information about a user that added paid reactions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the reactor is anonymous.boolean
True, if the paid reaction was added by the current user.boolean
True, if the reactor is one of the most active reactors; may be false if the reactor is the current user.Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren't the current user.int
Number of Telegram Stars added. -
Constructor Summary
ConstructorsConstructorDescriptionContains 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
senderId
Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren't the current user. -
starCount
public int starCountNumber of Telegram Stars added. -
isTop
public boolean isTopTrue, if the reactor is one of the most active reactors; may be false if the reactor is the current user. -
isMe
public boolean isMeTrue, if the paid reaction was added by the current user. -
isAnonymous
public boolean isAnonymousTrue, if the reactor is anonymous. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PaidReactor
public PaidReactor()Contains information about a user that added paid reactions. -
PaidReactor
public PaidReactor(TdApi.MessageSender senderId, int starCount, boolean isTop, boolean isMe, boolean isAnonymous) Contains information about a user that added paid reactions.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-