buildBot

fun buildBot(token: String, apiUrl: String = telegramBotAPIDefaultUrl, testServer: Boolean = false, fileLinkUrlMapper: <Error class: unknown class>.(String) -> String = { "${fileBaseUrl}/$it" }, block: BotBuilder.() -> Unit): <Error class: unknown class>

Return

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