java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Reaction
- Enclosing class:
- TdApi
Contains stickers which must be used
for reaction animation rendering.
-
Field Summary
Modifier and TypeFieldDescriptionActivate animation for the reaction.Appear animation for the reaction.Around animation for the reaction; may be null.Center animation for the reaction; may be null.static final int
Effect animation for the reaction.boolean
True, if the reaction can be added to new messages and enabled in chats.Text representation of the reaction.Select animation for the reaction.Static icon for the reaction.Reaction title. -
Constructor Summary
ConstructorDescriptionReaction()
Contains stickers which must be used for reaction animation rendering.Contains stickers which must be used for reaction animation rendering.Reaction
(String reaction, String title, boolean isActive, TdApi.Sticker staticIcon, TdApi.Sticker appearAnimation, TdApi.Sticker selectAnimation, TdApi.Sticker activateAnimation, TdApi.Sticker effectAnimation, TdApi.Sticker aroundAnimation, TdApi.Sticker centerAnimation) Contains stickers which must be used for reaction animation rendering. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
reaction
Text representation of the reaction. -
title
Reaction title. -
isActive
public boolean isActiveTrue, if the reaction can be added to new messages and enabled in chats. -
staticIcon
Static icon for the reaction. -
appearAnimation
Appear animation for the reaction. -
selectAnimation
Select animation for the reaction. -
activateAnimation
Activate animation for the reaction. -
effectAnimation
Effect animation for the reaction. -
aroundAnimation
Around animation for the reaction; may be null. -
centerAnimation
Center animation for the reaction; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
Reaction
public Reaction()Contains stickers which must be used for reaction animation rendering. -
Reaction
public Reaction(String reaction, String title, boolean isActive, TdApi.Sticker staticIcon, TdApi.Sticker appearAnimation, TdApi.Sticker selectAnimation, TdApi.Sticker activateAnimation, TdApi.Sticker effectAnimation, TdApi.Sticker aroundAnimation, TdApi.Sticker centerAnimation) Contains stickers which must be used for reaction animation rendering.- Parameters:
reaction
- String Text representation of the reaction.title
- String Reaction title.isActive
- boolean True, if the reaction can be added to new messages and enabled in chats.staticIcon
- Sticker Static icon for the reaction.appearAnimation
- Sticker Appear animation for the reaction.selectAnimation
- Sticker Select animation for the reaction.activateAnimation
- Sticker Activate animation for the reaction.effectAnimation
- Sticker Effect animation for the reaction.aroundAnimation
- Sticker Around animation for the reaction; may be null.centerAnimation
- Sticker Center animation for the reaction; may be null.
-
Reaction
Contains stickers which must be used for reaction animation rendering.- 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()
-