public static class TdApi.AddMessageReaction 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 reaction is added with a big animation.
|
long |
messageId
Identifier of the message.
|
TdApi.ReactionType |
reactionType
Type of the reaction to add.
|
boolean |
updateRecentReactions
Pass true if the reaction needs to be added to recent reactions; tags are never added to the list of recent reactions.
|
| Constructor and Description |
|---|
AddMessageReaction()
Default constructor for a function, which adds a reaction or a tag to a message.
|
AddMessageReaction(long chatId,
long messageId,
TdApi.ReactionType reactionType,
boolean isBig,
boolean updateRecentReactions)
Creates a function, which adds a reaction or a tag to a message.
|
| 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 reactionType
public boolean isBig
public boolean updateRecentReactions
public static final int CONSTRUCTOR
public AddMessageReaction()
Returns Ok
public AddMessageReaction(long chatId,
long messageId,
TdApi.ReactionType reactionType,
boolean isBig,
boolean updateRecentReactions)
Returns Ok
chatId - Identifier of the chat to which the message belongs.messageId - Identifier of the message.reactionType - Type of the reaction to add. Use addPendingPaidMessageReaction instead to add the paid reaction.isBig - Pass true if the reaction is added with a big animation.updateRecentReactions - Pass true if the reaction needs to be added to recent reactions; tags are never added to the list of recent reactions.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object