Class SendVideoNote
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SendVideoNote, Message>
io.github.natanimn.telebof.requests.send.SendBuilder<SendVideoNote, Message>
io.github.natanimn.telebof.requests.send.SendVideoNote
SendVideoNote class. Returns
Message
on success.- Since:
- 3 March 2025
-
Constructor Summary
ConstructorsConstructorDescriptionSendVideoNote
(Object chat_id, File video_note, Api api) RequiredSendVideoNote
(Object chat_id, String video_note, Api api) Required -
Method Summary
Methods inherited from class io.github.natanimn.telebof.requests.send.SendBuilder
allowPaidBroadcast, businessConnectionId, disableNotification, disableWebPagePreview, messageEffectId, messageThreadId, parseMode, protectContent, replyMarkup, replyParameters
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SendVideoNote
-
SendVideoNote
-
-
Method Details
-
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:
SendVideoNote
-
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:
SendVideoNote
-
length
Optional- Parameters:
length
- Video width and height, i.e. diameter of the video message- Returns:
SendVideoNote
-
duration
Optional- Parameters:
duration
- Duration of sent video in seconds- Returns:
SendVideoNote
-