public static class TdApi.GetMessageAddedReactions extends TdApi.Function<TdApi.AddedReactions>
Returns AddedReactions
| 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.
|
int |
limit
The maximum number of reactions to be returned; must be positive and can't be greater than 100.
|
long |
messageId
Identifier of the message.
|
java.lang.String |
offset
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
|
TdApi.ReactionType |
reactionType
Type of the reactions to return; pass null to return all added reactions; reactionTypePaid isn't supported.
|
| Constructor and Description |
|---|
GetMessageAddedReactions()
Default constructor for a function, which returns reactions added for a message, along with their sender.
|
GetMessageAddedReactions(long chatId,
long messageId,
TdApi.ReactionType reactionType,
java.lang.String offset,
int limit)
Creates a function, which returns reactions added for a message, along with their sender.
|
| 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 java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public GetMessageAddedReactions()
Returns AddedReactions
public GetMessageAddedReactions(long chatId,
long messageId,
TdApi.ReactionType reactionType,
java.lang.String offset,
int limit)
Returns AddedReactions
chatId - Identifier of the chat to which the message belongs.messageId - Identifier of the message. Use message.interactionInfo.reactions.canGetAddedReactions to check whether added reactions can be received for the message.reactionType - Type of the reactions to return; pass null to return all added reactions; reactionTypePaid isn't supported.offset - Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.limit - The maximum number of reactions to be returned; must be positive and can't be greater than 100.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object