buildBot

fun buildBot(token: String, apiUrl: String = telegramBotAPIDefaultUrl, testServer: Boolean = false, block: BotBuilder.() -> Unit): TelegramBot

Return

Created by telegramBotWithCustomClientConfig function TelegramBot. This executor will be preconfigured using token and block