public static class TdApi.SetMessageReactions extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to which the message belongs.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isBig
Pass true if the reactions are added with a big animation.
|
long |
messageId
Identifier of the message.
|
TdApi.ReactionType[] |
reactionTypes
Types of the reaction to set; pass an empty list to remove the reactions.
|
| Constructor and Description |
|---|
SetMessageReactions()
Default constructor for a function, which sets reactions on a message; for bots only.
|
SetMessageReactions(long chatId,
long messageId,
TdApi.ReactionType[] reactionTypes,
boolean isBig)
Creates a function, which sets reactions on a message; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public TdApi.ReactionType[] reactionTypes
public boolean isBig
public static final int CONSTRUCTOR
public SetMessageReactions()
Returns Ok
public SetMessageReactions(long chatId,
long messageId,
TdApi.ReactionType[] reactionTypes,
boolean isBig)
Returns Ok
chatId - Identifier of the chat to which the message belongs.messageId - Identifier of the message.reactionTypes - Types of the reaction to set; pass an empty list to remove the reactions.isBig - Pass true if the reactions are added with a big animation.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object