public static class TdApi.SetDefaultReactionType 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
New type of the default reaction.
|
| Constructor and Description |
|---|
SetDefaultReactionType()
Default constructor for a function, which changes type of default reaction for the current user.
|
SetDefaultReactionType(TdApi.ReactionType reactionType)
Creates a function, which changes type of default reaction for the current user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.ReactionType reactionType
public static final int CONSTRUCTOR
public SetDefaultReactionType()
Returns Ok
public SetDefaultReactionType(TdApi.ReactionType reactionType)
Returns Ok
reactionType - New type of the default reaction. The paid reaction can't be set as default.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object