copyWith method
OpenWebApp
copyWith({
- int? chatId,
- int? botUserId,
- String? url,
- ThemeParameters? theme,
- String? applicationName,
- int? messageThreadId,
- MessageReplyTo? replyTo,
Implementation
OpenWebApp copyWith({
int? chatId,
int? botUserId,
String? url,
ThemeParameters? theme,
String? applicationName,
int? messageThreadId,
MessageReplyTo? replyTo,
}) =>
OpenWebApp(
chatId: chatId ?? this.chatId,
botUserId: botUserId ?? this.botUserId,
url: url ?? this.url,
theme: theme ?? this.theme,
applicationName: applicationName ?? this.applicationName,
messageThreadId: messageThreadId ?? this.messageThreadId,
replyTo: replyTo ?? this.replyTo,
);