Class TdApi.PollMediaVideo

Enclosing class:
TdApi

public static class TdApi.PollMediaVideo extends TdApi.PollMedia
A video.
  • Field Details

    • video

      public TdApi.Video video
      The video description.
    • alternativeVideos

      public TdApi.AlternativeVideo[] alternativeVideos
      Alternative qualities of the video.
    • storyboards

      public TdApi.VideoStoryboard[] storyboards
      Available storyboards for the video.
    • cover

      public TdApi.Photo cover
      Cover of the video; may be null if none.
    • startTimestamp

      public int startTimestamp
      Timestamp from which the video playing must start, in seconds.
    • CONSTRUCTOR

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

    • PollMediaVideo

      public PollMediaVideo()
      A video.
    • PollMediaVideo

      public PollMediaVideo(TdApi.Video video, TdApi.AlternativeVideo[] alternativeVideos, TdApi.VideoStoryboard[] storyboards, TdApi.Photo cover, int startTimestamp)
      A video.
      Parameters:
      video - The video description.
      alternativeVideos - Alternative qualities of the video.
      storyboards - Available storyboards for the video.
      cover - Cover of the video; may be null if none.
      startTimestamp - Timestamp from which the video playing must start, in seconds.
  • 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