replyVideoNote method

Future<Message> replyVideoNote(
  1. dynamic videoNote, {
  2. bool withQuote = false,
  3. int? duration,
  4. int? length,
  5. dynamic thumbnail,
  6. bool? disableNotification,
  7. bool? allowSendingWithoutReply,
  8. ReplyMarkup? replyMarkup,
})

Reply to the recieved message with a video note

A wrapper around TeleDart.sendVideoNote. On success, returns the sent Message.

Apart from a videoNote to reply with, it can also take some options that control the message appearance and behavior.

Check Telegram API documentation for more information about those options.

Implementation

Future<Message> replyVideoNote(
  dynamic videoNote, {
  bool withQuote = false,
  int? duration,
  int? length,
  dynamic thumbnail,
  bool? disableNotification,
  bool? allowSendingWithoutReply,
  ReplyMarkup? replyMarkup,
}) =>
    _teledart.sendVideoNote(chat.id, videoNote,
        messageThreadId: messageThreadId,
        duration: duration,
        length: length,
        thumbnail: thumbnail,
        disableNotification: disableNotification,
        replyToMessageId: withQuote ? messageId : null,
        allowSendingWithoutReply: allowSendingWithoutReply,
        replyMarkup: replyMarkup);