java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.EmojiReaction
- Enclosing class:
- TdApi
Contains information about a emoji reaction.
-
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.Text representation of the reaction.boolean
True, if the reaction can be added to new messages and enabled in chats.Select animation for the reaction.Static icon for the reaction.Reaction title. -
Constructor Summary
ConstructorDescriptionContains information about a emoji reaction.EmojiReaction
(DataInput input) Contains information about a emoji reaction.EmojiReaction
(String emoji, 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 information about a emoji reaction. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
emoji
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
-
EmojiReaction
public EmojiReaction()Contains information about a emoji reaction. -
EmojiReaction
public EmojiReaction(String emoji, 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 information about a emoji reaction.- Parameters:
emoji
- 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.
-
EmojiReaction
Contains information about a emoji 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()
-