java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AvailableReaction
- Enclosing class:
- TdApi
Represents an available reaction.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if Telegram Premium is needed to send the reaction.Type of the reaction. -
Constructor Summary
ConstructorDescriptionRepresents an available reaction.AvailableReaction
(TdApi.ReactionType type, boolean needsPremium) Represents an available reaction.AvailableReaction
(DataInput input) Represents an available reaction. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
type
Type of the reaction. -
needsPremium
public boolean needsPremiumTrue, if Telegram Premium is needed to send the reaction. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AvailableReaction
public AvailableReaction()Represents an available reaction. -
AvailableReaction
Represents an available reaction.- Parameters:
type
- ReactionType Type of the reaction.needsPremium
- boolean True, if Telegram Premium is needed to send the reaction.
-
AvailableReaction
Represents an available reaction.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-