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.Text representation of the reaction. -
Constructor Summary
ConstructorDescriptionRepresents an available reaction.AvailableReaction
(DataInput input) Represents an available reaction.AvailableReaction
(String reaction, boolean needsPremium) Represents an available reaction. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
reaction
Text representation 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:
reaction
- String Text representation 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()
-