Send Video Request
data class SendVideoRequest(chat_id: String, video: String, duration: Long?, width: Long?, height: Long?, thumb: String?, caption: String?, parse_mode: ParseMode?, caption_entities: List<MessageEntity>?, supports_streaming: Boolean?, disable_notification: Boolean?, reply_to_message_id: Long?, allow_sending_without_reply: Boolean?, reply_markup: KeyboardOption?) : TelegramRequest
Content copied to clipboard
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document). On success, the sent Message is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.
Constructors
SendVideoRequest
Link copied to clipboard
fun SendVideoRequest(chat_id: String, video: String, duration: Long? = null, width: Long? = null, height: Long? = null, thumb: String? = null, caption: String? = null, parse_mode: ParseMode? = null, caption_entities: List<MessageEntity>? = null, supports_streaming: Boolean? = null, disable_notification: Boolean? = null, reply_to_message_id: Long? = null, allow_sending_without_reply: Boolean? = null, reply_markup: KeyboardOption? = null)
Content copied to clipboard
Properties
allow_sending_without_reply
Link copied to clipboard
caption_entities
Link copied to clipboard
disable_notification
Link copied to clipboard
Sends the message
parse_mode
Link copied to clipboard
reply_markup
Link copied to clipboard
reply_to_message_id
Link copied to clipboard
supports_streaming
Link copied to clipboard