Class TdApi.InputPageBlockVideo

Enclosing class:
TdApi

public static class TdApi.InputPageBlockVideo extends TdApi.InputPageBlock
A video.
  • Field Details

    • video

      public TdApi.InputVideo video
      The video to be sent.
    • caption

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

      public boolean hasSpoiler
      True, if the video 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

    • InputPageBlockVideo

      public InputPageBlockVideo()
      A video.
    • InputPageBlockVideo

      public InputPageBlockVideo(TdApi.InputVideo video, TdApi.PageBlockCaption caption, boolean hasSpoiler)
      A video.
      Parameters:
      video - The video to be sent.
      caption - Video caption; pass null if none.
      hasSpoiler - True, if the video 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