Class TdApi.AvailableReaction
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.AvailableReaction
- Enclosing class:
- TdApi
Represents an available reaction.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AvailableReaction
public AvailableReaction()Represents an available reaction. -
AvailableReaction
Represents an available reaction.- Parameters:
type
- Type of the reaction.needsPremium
- True, if Telegram Premium is needed to send the reaction.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-