java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageReaction
- Enclosing class:
- TdApi
Contains information about a reaction
to a message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if the reaction is chosen by the current user.Text representation of the reaction.Identifiers of at most 3 recent message senders, added the reaction; available in private chats, basic groups and supergroups.int
Number of times the reaction was added. -
Constructor Summary
ConstructorDescriptionContains information about a reaction to a message.MessageReaction
(DataInput input) Contains information about a reaction to a message.MessageReaction
(String reaction, int totalCount, boolean isChosen, TdApi.MessageSender[] recentSenderIds) Contains information about a reaction to a message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
reaction
Text representation of the reaction. -
totalCount
public int totalCountNumber of times the reaction was added. -
isChosen
public boolean isChosenTrue, if the reaction is chosen by the current user. -
recentSenderIds
Identifiers of at most 3 recent message senders, added the reaction; available in private chats, basic groups and supergroups. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageReaction
public MessageReaction()Contains information about a reaction to a message. -
MessageReaction
public MessageReaction(String reaction, int totalCount, boolean isChosen, TdApi.MessageSender[] recentSenderIds) Contains information about a reaction to a message.- Parameters:
reaction
- String Text representation of the reaction.totalCount
- int Number of times the reaction was added.isChosen
- boolean True, if the reaction is chosen by the current user.recentSenderIds
- MessageSender[] Identifiers of at most 3 recent message senders, added the reaction; available in private chats, basic groups and supergroups.
-
MessageReaction
Contains information about a reaction to a message.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-