telegramBotApi static method
return original data json
Implementation
static TelegramClientData telegramBotApi({
required String token_bot,
String client_user_name = "",
int client_tg_user_id = 0,
bool is_bot = true,
}) {
return TelegramClientData(
telegram_bot_api_token_bot: token_bot,
telegramClientType: TelegramClientType.telegam_bot_api,
tdlib_client_id: 0,
client_user_name: client_user_name,
client_tg_user_id: client_tg_user_id,
is_bot: is_bot,
);
}