ForwardMessages constructor

const ForwardMessages({
  1. required int chatId,
  2. required int fromChatId,
  3. required List<int> messageIds,
  4. MessageSendOptions? options,
  5. required bool sendCopy,
  6. required bool removeCaption,
  7. 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.fromChatId,
  required this.messageIds,
  this.options,
  required this.sendCopy,
  required this.removeCaption,
  required this.onlyPreview,
});