copyWith method

InputMessageForwarded copyWith({
  1. int? fromChatId,
  2. int? messageId,
  3. bool? inGameShare,
  4. bool? replaceVideoStartTimestamp,
  5. int? newVideoStartTimestamp,
  6. MessageCopyOptions? copyOptions,
})

Implementation

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