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
Identifier uniquely determining type of the object.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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- Text representation of the reaction.title
- Reaction title.isActive
- True, 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.
-
EmojiReaction
Contains information about a emoji reaction.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-