Class TdApi.PageBlockVideo

Enclosing class:
TdApi

public static class TdApi.PageBlockVideo extends TdApi.PageBlock
A video.
  • Field Details

    • video

      public TdApi.Video video
      Video file; may be null.
    • caption

      public TdApi.PageBlockCaption caption
      Video caption.
    • needAutoplay

      public boolean needAutoplay
      True, if the video must be played automatically.
    • isLooped

      public boolean isLooped
      True, if the video must be looped.
    • CONSTRUCTOR

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

    • PageBlockVideo

      public PageBlockVideo()
      A video.
    • PageBlockVideo

      public PageBlockVideo(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped)
      A video.
      Parameters:
      video - Video file; may be null.
      caption - Video caption.
      needAutoplay - True, if the video must be played automatically.
      isLooped - True, if the video must be looped.
  • 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