20 lines
529 B
TOML
20 lines
529 B
TOML
[telegram]
|
|
# Obtain these values at https://my.telegram.org/apps and from @BotFather.
|
|
api_id = 123456
|
|
api_hash = "replace-with-api-hash"
|
|
bot_token = "123456:replace-with-bot-token"
|
|
|
|
[admins]
|
|
# Telegram user IDs. Admins receive extended /status output.
|
|
user_ids = [123456789]
|
|
|
|
[property_api]
|
|
# The WebSocket endpoint exposed by scrap-property.
|
|
websocket_url = "ws://127.0.0.1:3000/ws"
|
|
connect_timeout_seconds = 15
|
|
reconnect_initial_delay_seconds = 1
|
|
reconnect_max_delay_seconds = 60
|
|
|
|
[database]
|
|
path = "data/property-bot.sqlite3"
|