copyWith method

TelegramClientTelegramBotApiOption copyWith({
  1. String? tokenBot,
  2. Map? clientOption,
  3. ServerUniverseNative? serverUniverseNative,
  4. Crypto? crypto,
  5. Uri? telegramUrlWebhook,
  6. Client? httpClient,
})

TelegramClientUncompleDocumentation

Implementation

TelegramClientTelegramBotApiOption copyWith({
  String? tokenBot,
  Map<dynamic, dynamic>? clientOption,
  ServerUniverseNative? serverUniverseNative,
  Crypto? crypto,
  Uri? telegramUrlWebhook,
  Client? httpClient,
}) {
  return TelegramClientTelegramBotApiOption(
    tokenBot: tokenBot ?? this.tokenBot,
    clientOption: clientOption ?? this.clientOption,
    serverUniverseNative: serverUniverseNative ?? this.serverUniverseNative,
    crypto: crypto ?? this.crypto,
    telegramUrlWebhook: telegramUrlWebhook ?? this.telegramUrlWebhook,
    httpClient: httpClient ?? this.httpClient,
  );
}