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 updateReactions,
updateChatAvailableReactions for the
chat, or updateMessageInteractionInfo
for the message. The method will return
Premium reactions, even the current
user has no Premium subscription.
Returns
AvailableReactions
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the message belongs.static final int
long
Identifier of the message. -
Constructor Summary
ConstructorDescriptionReturns reactions, which can be added to a message.GetMessageAvailableReactions
(long chatId, long messageId) 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. -
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 updateReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. The method will return Premium reactions, even the current user has no Premium subscription. ReturnsAvailableReactions
-
GetMessageAvailableReactions
public GetMessageAvailableReactions(long chatId, long messageId) Returns reactions, which can be added to a message. The list can change after updateReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. The method will return Premium reactions, even the current user has no Premium subscription. ReturnsAvailableReactions
- Parameters:
chatId
- long Identifier of the chat to which the message belongs.messageId
- long Identifier of the message.
-
GetMessageAvailableReactions
Returns reactions, which can be added to a message. The list can change after updateReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. The method will return Premium reactions, even the current user has no Premium subscription. 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()
-