MessageCopyOptions constructor

const MessageCopyOptions({
  1. required bool sendCopy,
  2. required bool replaceCaption,
  3. FormattedText? newCaption,
  4. required bool newShowCaptionAboveMedia,
})

Options to be used when a message content is copied without reference to the original sender. Service messages, messages with messageInvoice, messagePaidMedia, messageGiveaway, or messageGiveawayWinners content can't be copied

Implementation

const MessageCopyOptions({
  required this.sendCopy,
  required this.replaceCaption,
  this.newCaption,
  required this.newShowCaptionAboveMedia,
});