View Source
Telegex.Global
(Telegex v1.6.0)
Global configuration options.
Read global configuration options (in contrast to Telegex.Instance
), where these configuration options
are directly keyed under :telegex
.
Option descriptions
api_base_url
- The base URL of the Telegram Bot API. Defaults to https://api.telegram.org
.caller_adapter
- The adapter module for making HTTP requests. Defaults to Finch
.hook_adapter
- The adapter module for handling webhook requests. Defaults to Bandit
.token
- The token of the bot.
Summary
Returns the base URL of the Telegram Bot API.
Returns the adapter for making HTTP requests.
Returns the adapter for handling webhook requests.
Returns the token of the bot.
Functions
Returns the base URL of the Telegram Bot API.
Returns the adapter for making HTTP requests.
@spec hook_adapter() :: module()
Returns the adapter for handling webhook requests.
Returns the token of the bot.