Class TdApi.LinkPreviewTypeVideo

Enclosing class:
TdApi

public static class TdApi.LinkPreviewTypeVideo extends TdApi.LinkPreviewType
The link is a link to a video.
  • Field Details

    • video

      public TdApi.Video video
      The video description.
    • 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

    • LinkPreviewTypeVideo

      public LinkPreviewTypeVideo()
      The link is a link to a video.
    • LinkPreviewTypeVideo

      public LinkPreviewTypeVideo(TdApi.Video video, TdApi.Photo cover, int startTimestamp)
      The link is a link to a video.
      Parameters:
      video - The video description.
      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