Class SendVideo


public class SendVideo extends SendCaption
Since:
1.0.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • SendVideo

      public SendVideo()
  • Method Details

    • getVideo

      @NonNull public @NonNull String getVideo()
      Returns:
      Video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a video from the Internet, or upload a new video using multipart/form-data.
    • setVideo

      public void setVideo(@NonNull @NonNull String video)
      Parameters:
      video - Video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a video from the Internet, or upload a new video using multipart/form-data.
    • getDuration

      @Nullable public @Nullable Integer getDuration()
      Returns:
      Duration of sent video in seconds.
    • setDuration

      public void setDuration(@Nullable @Nullable Integer duration)
      Parameters:
      duration - Duration of sent video in seconds.
    • 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.
    • getThumb

      @Nullable public @Nullable String getThumb()
      Returns:
      Thumbnail of the file sent
    • setThumb

      public void setThumb(@Nullable @Nullable String thumb)
      Parameters:
      thumb - Thumbnail of the file sent
    • getSupportsStreaming

      @Nullable public @Nullable Boolean getSupportsStreaming()
      Returns:
      Pass 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.