copyWith method
OpenWebApp
copyWith({
- int? chatId,
- int? botUserId,
- String? url,
- MessageTopic? topicId,
- InputMessageReplyTo? replyTo,
- WebAppOpenParameters? parameters,
Implementation
OpenWebApp copyWith({
int? chatId,
int? botUserId,
String? url,
MessageTopic? topicId,
InputMessageReplyTo? replyTo,
WebAppOpenParameters? parameters,
}) => OpenWebApp(
chatId: chatId ?? this.chatId,
botUserId: botUserId ?? this.botUserId,
url: url ?? this.url,
topicId: topicId ?? this.topicId,
replyTo: replyTo ?? this.replyTo,
parameters: parameters ?? this.parameters,
);