Class SendVideo
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SendVideo, Message>
io.github.natanimn.telebof.requests.send.SendBuilder<SendVideo, Message>
io.github.natanimn.telebof.requests.send.SendVideo
SendMessage class. Returns
Message on success.- Since:
- 3 March 2025
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptionalcaptionEntities(MessageEntity[] caption_entities) OptionalOptionalOptionalduration(int duration) OptionalhasSpoiler(boolean has_spoiler) Optionalheight(int height) OptionalshowCaptionAboveMedia(boolean show_caption_above_media) OptionalstartTimestamp(int start_timestamp) OptionalsupportsStreaming(boolean supports_streaming) OptionalOptionalOptionalwidth(int width) OptionalMethods inherited from class io.github.natanimn.telebof.requests.send.SendBuilder
allowPaidBroadcast, businessConnectionId, directMessagesTopicId, disableNotification, disableWebPagePreview, messageEffectId, messageThreadId, parseMode, protectContent, replyMarkup, replyParameters, suggestedPostParametersMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SendVideo
-
SendVideo
-
-
Method Details
-
caption
-
captionEntities
Optional- Parameters:
caption_entities- A list of special entities that appear in the caption, which can be specified instead of parse_mode- Returns:
SendVideo
-
hasSpoiler
-
supportsStreaming
-
thumbnail
Optional- Parameters:
thumbnail- Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Thumbnails can't be reused and can be only uploaded as a new file.- Returns:
SendVideo
-
thumbnail
Optional- Parameters:
thumbnail- Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Thumbnails can't be reused and can be only uploaded as a new file.- Returns:
SendVideo
-
width
-
height
-
duration
-
showCaptionAboveMedia
-
cover
-
cover
-
startTimestamp
-