public static class TdApi.AvailableReaction extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
needsPremium
True, if Telegram Premium is needed to send the reaction.
|
TdApi.ReactionType |
type
Type of the reaction.
|
| Constructor and Description |
|---|
AvailableReaction()
Represents an available reaction.
|
AvailableReaction(TdApi.ReactionType type,
boolean needsPremium)
Represents an available reaction.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.ReactionType type
public boolean needsPremium
public static final int CONSTRUCTOR
public AvailableReaction()
public AvailableReaction(TdApi.ReactionType type, boolean needsPremium)
type - Type of the reaction.needsPremium - True, if Telegram Premium is needed to send the reaction.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object