public static class TdApi.SetStoryReaction extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ReactionType |
reactionType
Type of the reaction to set; pass null to remove the reaction.
|
int |
storyId
The identifier of the story.
|
long |
storySenderChatId
The identifier of the sender of the story.
|
boolean |
updateRecentReactions
Pass true if the reaction needs to be added to recent reactions.
|
| Constructor and Description |
|---|
SetStoryReaction()
Default constructor for a function, which changes chosen reaction on a story that has already been sent.
|
SetStoryReaction(long storySenderChatId,
int storyId,
TdApi.ReactionType reactionType,
boolean updateRecentReactions)
Creates a function, which changes chosen reaction on a story that has already been sent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long storySenderChatId
public int storyId
public TdApi.ReactionType reactionType
public boolean updateRecentReactions
public static final int CONSTRUCTOR
public SetStoryReaction()
Returns Ok
public SetStoryReaction(long storySenderChatId,
int storyId,
TdApi.ReactionType reactionType,
boolean updateRecentReactions)
Returns Ok
storySenderChatId - The identifier of the sender of the story.storyId - The identifier of the story.reactionType - Type of the reaction to set; pass null to remove the reaction. Custom emoji reactions can be used only by Telegram Premium users. Paid reactions can't be set.updateRecentReactions - Pass true if the reaction needs to be added to recent reactions.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object