Module tdlight.api

Class TdApi.PageBlockVideo

Enclosing class:
TdApi

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

      public PageBlockVideo(DataInput input) throws IOException
      A video.
      Throws:
      IOException
  • Method Details