TelegramAPIUrlsKeeper

class TelegramAPIUrlsKeeper(    token: String,     hostUrl: String = telegramBotAPIDefaultUrl,     urlsSuffixes: String = "")

Constructors

Link copied to clipboard
fun TelegramAPIUrlsKeeper(    token: String,     testServer: Boolean,     hostUrl: String = telegramBotAPIDefaultUrl)
Link copied to clipboard
fun TelegramAPIUrlsKeeper(    token: String,     hostUrl: String = telegramBotAPIDefaultUrl,     urlsSuffixes: String = "")

Functions

Link copied to clipboard
fun checkWebAppData(rawData: String, hash: String): Boolean
Link copied to clipboard
fun createFileLinkUrl(filePath: String): String

Properties

Link copied to clipboard
val commonAPIUrl: String
Link copied to clipboard
val fileBaseUrl: String
Link copied to clipboard
val webAppDataSecretKey: String
Link copied to clipboard
val webAppDataSecretKeyHash: Hash

Extensions

Link copied to clipboard
fun TelegramAPIUrlsKeeper.resolveFileURL(file: PathedFile): String