Class SendVideoNote

java.lang.Object
io.micronaut.chatbots.telegram.api.send.Send
io.micronaut.chatbots.telegram.api.send.SendVideoNote

public class SendVideoNote extends Send
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • SendVideoNote

      public SendVideoNote()
  • Method Details

    • getVideoNote

      @NonNull public @NonNull String getVideoNote()
      Returns:
      Video note to send.
    • setVideoNote

      public void setVideoNote(@NonNull @NonNull String videoNote)
      Parameters:
      videoNote - Video note to send.
    • 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.
    • getLength

      @Nullable public @Nullable Integer getLength()
      Returns:
      Video width and height, i.e. diameter of the video message.
    • setLength

      public void setLength(@Nullable @Nullable Integer length)
      Parameters:
      length - Video width and height, i.e. diameter of the video message.
    • 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;
    • getDisableNotification

      @Nullable public @Nullable Boolean getDisableNotification()
      Overrides:
      getDisableNotification in class Send
      Returns:
      Sends the message silently.
    • setDisableNotification

      public void setDisableNotification(@Nullable @Nullable Boolean disableNotification)
      Overrides:
      setDisableNotification in class Send
      Parameters:
      disableNotification - true to sends the message silently. Users will receive a notification with no sound.