Config
Class methods
admin_user_ids
Comma-separated Telegram user IDs allowed to access admin endpoints and bot commands. Example: ADMIN_USER_IDS=168682956,987654321
base_url
Sourcebot_token
Sourcedatabase_url
Sourcedatabase_url_direct
Direct (non-pooler) URL for LISTEN/NOTIFY connections. pgbouncer doesn't support LISTEN; strip "-pooler" from the host.
dub_callback_base
Sourceembed_endpoint_id
Sourceembed_sidecar_url
Sourceinternal_webhook_secret
Sourceport
Sourcer2_access_key_id
Sourcer2_account_id
Sourcer2_bucket
Sourcer2_public_url
Sourcer2_secret_access_key
Sourcerunpod_api_key
Sourcerunpod_endpoint_id
Sourcetelegram_api_server
Optional self-hosted Telegram Bot API server endpoint. When set, Tourmaline sends requests here instead of api.telegram.org, enabling file transfers up to 2 GB.
webhook_url
Source