- Enclosing class:
- TdApi
Changes chosen reaction for a message.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the message belongs.static final int
boolean
Pass true if the reaction is added with a big animation.long
Identifier of the message.Text representation of the new chosen reaction. -
Constructor Summary
ConstructorDescriptionChanges chosen reaction for a message.SetMessageReaction
(long chatId, long messageId, String reaction, boolean isBig) Changes chosen reaction for a message.SetMessageReaction
(DataInput input) Changes chosen reaction for a message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat to which the message belongs. -
messageId
public long messageIdIdentifier of the message. -
reaction
Text representation of the new chosen reaction. Can be an empty string or the currently chosen non-big reaction to remove the reaction. -
isBig
public boolean isBigPass true if the reaction is added with a big animation. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetMessageReaction
public SetMessageReaction()Changes chosen reaction for a message. ReturnsOk
-
SetMessageReaction
Changes chosen reaction for a message. ReturnsOk
- Parameters:
chatId
- long Identifier of the chat to which the message belongs.messageId
- long Identifier of the message.reaction
- String Text representation of the new chosen reaction. Can be an empty string or the currently chosen non-big reaction to remove the reaction.isBig
- boolean Pass true if the reaction is added with a big animation.
-
SetMessageReaction
Changes chosen reaction for a message. ReturnsOk
- 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()
-