commonMain.com.github.insanusmokrassar.TelegramBotAPI.utils.TelegramAPIUrlsKeeper.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of TelegramBotAPI-metadata Show documentation
Show all versions of TelegramBotAPI-metadata Show documentation
This project just include all subproject of TelegramBotAPI
package com.github.insanusmokrassar.TelegramBotAPI.utils
class TelegramAPIUrlsKeeper(
token: String,
hostUrl: String = "https://api.telegram.org"
) {
val commonAPIUrl = "$hostUrl/bot$token"
val fileBaseUrl = "$hostUrl/file/bot$token"
}