Module tdlight.api

Class TdApi.Reaction

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

public static final class TdApi.Reaction extends TdApi.Object
Contains stickers which must be used for reaction animation rendering.
  • Field Details

    • reaction

      public String reaction
      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.
    • isPremium

      public boolean isPremium
      True, if the reaction is available only for Premium users.
    • 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
      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, boolean isPremium, 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.
      isPremium - boolean True, if the reaction is available only for Premium users.
      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

      public Reaction(DataInput input) throws IOException
      Contains stickers which must be used for reaction animation rendering.
      Throws:
      IOException
  • Method Details