copyWith method
SendBusinessMessage
copyWith({
- String? businessConnectionId,
- int? chatId,
- InputMessageReplyTo? replyTo,
- bool? disableNotification,
- bool? protectContent,
- int? effectId,
- ReplyMarkup? replyMarkup,
- 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,
);