ForwardMessages constructor

const ForwardMessages({
  1. required int chatId,
  2. required int messageThreadId,
  3. required int fromChatId,
  4. required List<int> messageIds,
  5. MessageSendOptions? options,
  6. required bool sendCopy,
  7. required bool removeCaption,
  8. required bool onlyPreview,
})

Forwards previously sent messages. Returns the forwarded messages in the same order as the message identifiers passed in message_ids. If a message can't be forwarded, null will be returned instead of the message

Implementation

const ForwardMessages({
  required this.chatId,
  required this.messageThreadId,
  required this.fromChatId,
  required this.messageIds,
  this.options,
  required this.sendCopy,
  required this.removeCaption,
  required this.onlyPreview,
});