copyWith method
UpdateNewBusinessCallbackQuery
copyWith({
- int? id,
- int? senderUserId,
- String? connectionId,
- BusinessMessage? message,
- int? chatInstance,
- CallbackQueryPayload? payload,
Implementation
UpdateNewBusinessCallbackQuery copyWith({
int? id,
int? senderUserId,
String? connectionId,
BusinessMessage? message,
int? chatInstance,
CallbackQueryPayload? payload,
}) => UpdateNewBusinessCallbackQuery(
id: id ?? this.id,
senderUserId: senderUserId ?? this.senderUserId,
connectionId: connectionId ?? this.connectionId,
message: message ?? this.message,
chatInstance: chatInstance ?? this.chatInstance,
payload: payload ?? this.payload,
);