TelegramAPIUrlsKeeper

class TelegramAPIUrlsKeeper(token: String, hostUrl: String = telegramBotAPIDefaultUrl, urlsSuffixes: String = "", fileLinkUrlMapper: TelegramAPIUrlsKeeper.(String) -> String = { "${fileBaseUrl}/$it" })

Constructors

Link copied to clipboard
constructor(token: String, testServer: Boolean, hostUrl: String = telegramBotAPIDefaultUrl, fileLinkUrlMapper: TelegramAPIUrlsKeeper.(String) -> String = { "${fileBaseUrl}/$it" })
constructor(token: String, hostUrl: String = telegramBotAPIDefaultUrl, urlsSuffixes: String = "", fileLinkUrlMapper: TelegramAPIUrlsKeeper.(String) -> String = { "${fileBaseUrl}/$it" })

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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