feat: add Kurigram property notification bot
This commit is contained in:
19
config.example.toml
Normal file
19
config.example.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[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"
|
||||
Reference in New Issue
Block a user