Class TdApi.InputPageBlockAnimation

Enclosing class:
TdApi

public static class TdApi.InputPageBlockAnimation extends TdApi.InputPageBlock
An animation.
  • Field Details

    • animation

      public TdApi.InputAnimation animation
      The animation to be sent.
    • caption

      public TdApi.PageBlockCaption caption
      Animation caption; pass null if none.
    • hasSpoiler

      public boolean hasSpoiler
      True, if the animation preview must be covered by a spoiler animation.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InputPageBlockAnimation

      public InputPageBlockAnimation()
      An animation.
    • InputPageBlockAnimation

      public InputPageBlockAnimation(TdApi.InputAnimation animation, TdApi.PageBlockCaption caption, boolean hasSpoiler)
      An animation.
      Parameters:
      animation - The animation to be sent.
      caption - Animation caption; pass null if none.
      hasSpoiler - True, if the animation preview must be covered by a spoiler animation.
  • 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