Module tdlight.api

Class TdApi.EmojiReaction

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.EmojiReaction
Enclosing class:
TdApi

public static final class TdApi.EmojiReaction extends TdApi.Object
Contains information about a emoji reaction.
  • Field Details

    • emoji

      public String emoji
      Text representation of the reaction.
    • title

      public String title
      Reaction title.
    • isActive

      public boolean isActive
      True, if the reaction can be added to new messages and enabled in chats.
    • staticIcon

      public TdApi.Sticker staticIcon
      Static icon for the reaction.
    • appearAnimation

      public TdApi.Sticker appearAnimation
      Appear animation for the reaction.
    • selectAnimation

      public TdApi.Sticker selectAnimation
      Select animation for the reaction.
    • activateAnimation

      public TdApi.Sticker activateAnimation
      Activate animation for the reaction.
    • effectAnimation

      public TdApi.Sticker effectAnimation
      Effect animation for the reaction.
    • aroundAnimation

      public TdApi.Sticker aroundAnimation
      Around animation for the reaction; may be null.
    • centerAnimation

      public TdApi.Sticker centerAnimation
      Center animation for the reaction; may be null.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public EmojiReaction(DataInput input) throws IOException
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object