SendVideoNoteRequest

data class SendVideoNoteRequest(chat_id: String, video_note: String, duration: Long?, length: Long?, thumb: String?, disable_notification: Boolean?, reply_to_message_id: Long?, allow_sending_without_reply: Boolean?, reply_markup: KeyboardOption?) : TelegramRequest

As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long. Use this method to send video messages. On success, the sent Message is returned.

Constructors

SendVideoNoteRequest
Link copied to clipboard
fun SendVideoNoteRequest(chat_id: String, video_note: String, duration: Long? = null, length: Long? = null, thumb: String? = null, disable_notification: Boolean? = null, reply_to_message_id: Long? = null, allow_sending_without_reply: Boolean? = null, reply_markup: KeyboardOption? = null)

Properties

allow_sending_without_reply
Link copied to clipboard
val allow_sending_without_reply: Boolean? = null
Pass True, if the message should be sent even if the specified replied-to message is not found
chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
disable_notification
Link copied to clipboard
val disable_notification: Boolean? = null
Sends the message
duration
Link copied to clipboard
val duration: Long? = null
Duration of sent video in seconds
length
Link copied to clipboard
val length: Long? = null
Video width and height, i.e.
reply_markup
Link copied to clipboard
val reply_markup: KeyboardOption? = null
Additional interface options.
reply_to_message_id
Link copied to clipboard
val reply_to_message_id: Long? = null
If the message is a reply, ID of the original message
thumb
Link copied to clipboard
val thumb: String? = null
Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side.
video_note
Link copied to clipboard
val video_note: String
Video note to send.