Package org.drinkless.tdlib
Class TdApi.MessageReactions
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageReactions
- Enclosing class:
- TdApi
Contains a list of reactions added to a message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if the reactions are tags and Telegram Premium users can filter messages by them.booleanTrue, if the list of added reactions is available using getMessageAddedReactions.static final intIdentifier uniquely determining type of the object.Information about top users that added the paid reaction.List of added reactions. -
Constructor Summary
ConstructorsConstructorDescriptionContains a list of reactions added to a message.MessageReactions(TdApi.MessageReaction[] reactions, boolean areTags, TdApi.PaidReactor[] paidReactors, boolean canGetAddedReactions) Contains a list of reactions added to a message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
reactions
List of added reactions. -
areTags
public boolean areTagsTrue, if the reactions are tags and Telegram Premium users can filter messages by them. -
paidReactors
Information about top users that added the paid reaction. -
canGetAddedReactions
public boolean canGetAddedReactionsTrue, if the list of added reactions is available using getMessageAddedReactions. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageReactions
public MessageReactions()Contains a list of reactions added to a message. -
MessageReactions
public MessageReactions(TdApi.MessageReaction[] reactions, boolean areTags, TdApi.PaidReactor[] paidReactors, boolean canGetAddedReactions) Contains a list of reactions added to a message.- Parameters:
reactions- List of added reactions.areTags- True, if the reactions are tags and Telegram Premium users can filter messages by them.paidReactors- Information about top users that added the paid reaction.canGetAddedReactions- True, if the list of added reactions is available using getMessageAddedReactions.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-