replyMediaGroup method
Future<List<Message> >
replyMediaGroup(
- List<
InputMedia> media, { - bool withQuote = false,
- bool? disableNotification,
- bool? allowSendingWithoutReply,
Reply to the recieved message with a media group message (multiple media files)
A wrapper around TeleDart.sendMediaGroup. On success, returns the sent Message.
Apart from a List<InputMedia> 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<List<Message>> replyMediaGroup(
List<InputMedia> media, {
bool withQuote = false,
bool? disableNotification,
bool? allowSendingWithoutReply,
}) =>
_teledart.sendMediaGroup(chat.id, media,
messageThreadId: messageThreadId,
disableNotification: disableNotification,
replyToMessageId: withQuote ? messageId : null,
allowSendingWithoutReply: allowSendingWithoutReply);