copyWith method

GetWebAppLinkUrl copyWith({
  1. int? chatId,
  2. int? botUserId,
  3. String? webAppShortName,
  4. String? startParameter,
  5. ThemeParameters? theme,
  6. String? applicationName,
  7. bool? allowWriteAccess,
})

Implementation

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