sendVideoNote method
Future<Message>
sendVideoNote(
- ChatID chatId,
- HttpFile videoNote, {
- int? duration,
- int? length,
- HttpFile? thumb,
- bool? disableNotification,
- bool? protectContent,
- int? replyToMessageId,
- bool? allowSendingWithoutReply,
- ReplyMarkup? replyMarkup,
inherited
Use this method to send video messages.
On success, the sent Message
is returned.
Implementation
Future<Message> sendVideoNote(
ChatID chatId,
HttpFile videoNote, {
int? duration,
int? length,
HttpFile? thumb,
bool? disableNotification,
bool? protectContent,
int? replyToMessageId,
bool? allowSendingWithoutReply,
ReplyMarkup? replyMarkup,
}) {
return _client.apiCall(_token, 'sendVideoNote', {
'chat_id': chatId,
'video_note': videoNote,
'duration': duration,
'length': length,
'disable_notification': disableNotification,
'protect_content': protectContent,
'reply_to_message_id': replyToMessageId,
'allow_sending_without_reply': allowSendingWithoutReply,
'reply_markup': replyMarkup,
});
}