copyWith method
UpdateNewInlineWidgetQuery
copyWith({
- int? id,
- int? senderUserId,
- String? inlineMessageId,
- int? chatInstance,
- String? chatType,
- WidgetQueryType? queryType,
- String? data,
- int? widgetId,
- TonWalletCard? walletCard,
Implementation
UpdateNewInlineWidgetQuery copyWith({
int? id,
int? senderUserId,
String? inlineMessageId,
int? chatInstance,
String? chatType,
WidgetQueryType? queryType,
String? data,
int? widgetId,
TonWalletCard? walletCard,
}) =>
UpdateNewInlineWidgetQuery(
id: id ?? this.id,
senderUserId: senderUserId ?? this.senderUserId,
inlineMessageId: inlineMessageId ?? this.inlineMessageId,
chatInstance: chatInstance ?? this.chatInstance,
chatType: chatType ?? this.chatType,
queryType: queryType ?? this.queryType,
data: data ?? this.data,
widgetId: widgetId ?? this.widgetId,
walletCard: walletCard ?? this.walletCard,
);