copyWith method

GetWebAppLinkUrl copyWith({
  1. int? chatId,
  2. int? botUserId,
  3. String? webAppShortName,
  4. String? startParameter,
  5. bool? allowWriteAccess,
  6. WebAppOpenParameters? parameters,
})

Implementation

GetWebAppLinkUrl copyWith({
  int? chatId,
  int? botUserId,
  String? webAppShortName,
  String? startParameter,
  bool? allowWriteAccess,
  WebAppOpenParameters? parameters,
}) => GetWebAppLinkUrl(
  chatId: chatId ?? this.chatId,
  botUserId: botUserId ?? this.botUserId,
  webAppShortName: webAppShortName ?? this.webAppShortName,
  startParameter: startParameter ?? this.startParameter,
  allowWriteAccess: allowWriteAccess ?? this.allowWriteAccess,
  parameters: parameters ?? this.parameters,
);