copyWith method

  1. @override
InputMessageForwarded copyWith({
  1. int? fromChatId,
  2. int? messageId,
  3. bool? inGameShare,
  4. MessageCopyOptions? copyOptions,
})
override

Implementation

@override
InputMessageForwarded copyWith({
  int? fromChatId,
  int? messageId,
  bool? inGameShare,
  MessageCopyOptions? copyOptions,
}) =>
    InputMessageForwarded(
      fromChatId: fromChatId ?? this.fromChatId,
      messageId: messageId ?? this.messageId,
      inGameShare: inGameShare ?? this.inGameShare,
      copyOptions: copyOptions ?? this.copyOptions,
    );