BotConfiguration
Properties
Link copied to clipboard
A configurer function for API requests HttpClient.
Link copied to clipboard
A HttpClientEngine of Bot for API requests HttpClient. If null
then an attempt will be made to create one using HttpClient()
.
Link copied to clipboard
A HttpClientEngineFactory of Bot for API requests HttpClient. If null
then an attempt will be made to create one using HttpClient()
.
Link copied to clipboard
The CoroutineContext provided to the Bot. If there is no Job, one will be created, otherwise it will be used as a parent Job for the internal Job.
Link copied to clipboard
Whether to use the initial value for long polling config, if null
then it is not enabled by default.
Link copied to clipboard
Used for the server
parameter in API requests. Default: Telegram.BASE_SERVER_VALUE
Functions
Link copied to clipboard
config with apiClientConfigurer.