java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.AvailableReactions>
it.tdlight.jni.TdApi.GetMessageAvailableReactions
- Enclosing class:
- TdApi
public static final class TdApi.GetMessageAvailableReactions
extends TdApi.Function<TdApi.AvailableReactions>
Returns reactions, which can be added
to a message. The list can change
after updateActiveEmojiReactions,
updateChatAvailableReactions for the
chat, or updateMessageInteractionInfo
for the message.
Returns
AvailableReactions
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the message belongs.static final int
long
Identifier of the message.int
Number of reaction per row, 5-25. -
Constructor Summary
ConstructorDescriptionReturns reactions, which can be added to a message.GetMessageAvailableReactions
(long chatId, long messageId, int rowSize) Returns reactions, which can be added to a message.Returns reactions, which can be added to 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. -
rowSize
public int rowSizeNumber of reaction per row, 5-25. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetMessageAvailableReactions
public GetMessageAvailableReactions()Returns reactions, which can be added to a message. The list can change after updateActiveEmojiReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. ReturnsAvailableReactions
-
GetMessageAvailableReactions
public GetMessageAvailableReactions(long chatId, long messageId, int rowSize) Returns reactions, which can be added to a message. The list can change after updateActiveEmojiReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. ReturnsAvailableReactions
- Parameters:
chatId
- long Identifier of the chat to which the message belongs.messageId
- long Identifier of the message.rowSize
- int Number of reaction per row, 5-25.
-
GetMessageAvailableReactions
Returns reactions, which can be added to a message. The list can change after updateActiveEmojiReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. ReturnsAvailableReactions
- 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()
-