Class InputMediaVideo


public class InputMediaVideo extends InputMediaDocument
Represents a video to be sent.
  • Constructor Details

    • InputMediaVideo

      public InputMediaVideo()
  • Method Details

    • getWidth

      @Nullable public @Nullable Integer getWidth()
      Returns:
      Video width
    • setWidth

      public void setWidth(@Nullable @Nullable Integer width)
      Parameters:
      width - Video width
    • getHeight

      @Nullable public @Nullable Integer getHeight()
      Returns:
      Video height.
    • setHeight

      public void setHeight(@Nullable @Nullable Integer height)
      Parameters:
      height - Video height.
    • getDuration

      @Nullable public @Nullable Integer getDuration()
      Returns:
      Video duration.
    • setDuration

      public void setDuration(@Nullable @Nullable Integer duration)
      Parameters:
      duration - Video duration.
    • getSupportsStreaming

      @Nullable public @Nullable Boolean getSupportsStreaming()
      Returns:
      True, if the uploaded video is suitable for streaming.
    • setSupportsStreaming

      public void setSupportsStreaming(@Nullable @Nullable Boolean supportsStreaming)
      Parameters:
      supportsStreaming - Pass True, if the uploaded video is suitable for streaming.
    • toString

      public String toString()
      Overrides:
      toString in class InputMediaDocument