copyWith method

SendBusinessMessage copyWith({
  1. String? businessConnectionId,
  2. int? chatId,
  3. InputMessageReplyTo? replyTo,
  4. bool? disableNotification,
  5. bool? protectContent,
  6. int? effectId,
  7. ReplyMarkup? replyMarkup,
  8. InputMessageContent? inputMessageContent,
})

Implementation

SendBusinessMessage copyWith({
  String? businessConnectionId,
  int? chatId,
  InputMessageReplyTo? replyTo,
  bool? disableNotification,
  bool? protectContent,
  int? effectId,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) => SendBusinessMessage(
  businessConnectionId: businessConnectionId ?? this.businessConnectionId,
  chatId: chatId ?? this.chatId,
  replyTo: replyTo ?? this.replyTo,
  disableNotification: disableNotification ?? this.disableNotification,
  protectContent: protectContent ?? this.protectContent,
  effectId: effectId ?? this.effectId,
  replyMarkup: replyMarkup ?? this.replyMarkup,
  inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);