TelegramAPIUrlsKeeper

class TelegramAPIUrlsKeeper(token: String, hostUrl: String, urlsSuffixes: String)

Constructors

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

Functions

Link copied to clipboard
fun checkWebAppLink(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

Extensions

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