TelegramLogin constructor

TelegramLogin({
  1. required String botId,
  2. required String botDomain,
  3. Client? httpClient,
})

run executable telegram bot api run executable telegram bot api

Implementation

// HttpSession({
/// run executable telegram bot api
TelegramLogin({
  required this.botId,
  required this.botDomain,
  http.Client? httpClient,
}) {
  if (httpClient != null) {
    http_client = httpClient;
  } else {
    http_client = http.Client();
  }
}