SerializableTelegramBotConfiguration

A configuration type for a serializable bot config file.

Only for deserialization use, it is not recommended to directly construct or use it, and the compatibility and stability of direct use are not guaranteed.

Author

ForteScarlet

Types

Link copied to clipboard
Link copied to clipboard
data class LongPollingConfiguration(val limit: Int? = null, val timeout: Int? = BotConfiguration.DefaultLongPollingTimeout.inWholeSeconds.toInt(), val allowedUpdates: Collection<String>? = null, val retry: LongPolling.Retry? = null, val handleRetry: LongPolling.HandleRetry? = null)
Link copied to clipboard
data class Ticket(val token: String)

Properties

Functions