mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-29 04:47:48 +00:00
10 lines
253 B
Kotlin
10 lines
253 B
Kotlin
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"
|
|
}
|