Class TdApi.InputPaidMediaTypeVideo

Enclosing class:
TdApi

public static class TdApi.InputPaidMediaTypeVideo extends TdApi.InputPaidMediaType
The media is a video.
  • Field Details

    • duration

      public int duration
      Duration of the video, in seconds.
    • supportsStreaming

      public boolean supportsStreaming
      True, if the video is supposed to be streamed.
    • CONSTRUCTOR

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

    • InputPaidMediaTypeVideo

      public InputPaidMediaTypeVideo()
      The media is a video.
    • InputPaidMediaTypeVideo

      public InputPaidMediaTypeVideo(int duration, boolean supportsStreaming)
      The media is a video.
      Parameters:
      duration - Duration of the video, in seconds.
      supportsStreaming - True, if the video is supposed to be streamed.
  • 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