Class SendVideoNote
java.lang.Object
io.micronaut.chatbots.telegram.api.send.Send
io.micronaut.chatbots.telegram.api.send.SendVideoNote
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Boolean@Nullable Integer@Nullable Integer@Nullable StringgetThumb()@NonNull StringvoidsetDisableNotification(@Nullable Boolean disableNotification) voidsetDuration(@Nullable Integer duration) voidvoidvoidsetVideoNote(@NonNull String videoNote) Methods inherited from class io.micronaut.chatbots.telegram.api.send.Send
getChatId, getMethod, getReplyMarkup, getReplyToMessageId, setChatId, setReplyMarkup, setReplyToMessageId
-
Constructor Details
-
SendVideoNote
public SendVideoNote()
-
-
Method Details
-
getVideoNote
- Returns:
- Video note to send.
-
setVideoNote
- Parameters:
videoNote- Video note to send.
-
getDuration
- Returns:
- Duration of sent video in seconds.
-
setDuration
- Parameters:
duration- Duration of sent video in seconds.
-
getLength
- Returns:
- Video width and height, i.e. diameter of the video message.
-
setLength
- Parameters:
length- Video width and height, i.e. diameter of the video message.
-
getThumb
- Returns:
- Thumbnail of the file sent;
-
setThumb
- Parameters:
thumb- Thumbnail of the file sent;
-
getDisableNotification
- Overrides:
getDisableNotificationin classSend- Returns:
- Sends the message silently.
-
setDisableNotification
- Overrides:
setDisableNotificationin classSend- Parameters:
disableNotification- true to sends the message silently. Users will receive a notification with no sound.
-