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
-
Method Summary
Modifier and TypeMethodDescription@Nullable Boolean
@Nullable Integer
@Nullable Integer
@Nullable String
getThumb()
@NonNull String
void
setDisableNotification
(@Nullable Boolean disableNotification) void
setDuration
(@Nullable Integer duration) void
void
void
setVideoNote
(@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:
getDisableNotification
in classSend
- Returns:
- Sends the message silently.
-
setDisableNotification
- Overrides:
setDisableNotification
in classSend
- Parameters:
disableNotification
- true to sends the message silently. Users will receive a notification with no sound.
-