forked from MasterGroosha/telegram-feedback-bot-topics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.prod.example.yml
36 lines (34 loc) · 1.21 KB
/
settings.prod.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#### Bot-specific settings ####
bot:
# Bot's token. Obtain from https://t.me/BotFather
token: "1234567890:AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTt"
# ID of your supergroup with "forum" feature enabled
# To get ID of your supergroup, add @my_id_bot to it
forum_supergroup_id: -100987654321
# FSM Mode: "memory" or "redis". Do not use memory backend for production!
fsm_mode: "redis"
# Topics, which bot should ignore completely
ignored_topics_ids:
- 4
- 5
- 6
# Chosen language of the bot
# Actually it's the name of directory with locale files.
language: "en"
# EXPERIMENTAL FEATURE:
# If enabled, tries to re-send media groups ("albums")
# the way they were originally sent.
# Causes a small delay. Defaults to false
albums_preserve_enabled: false
# How much time to wait for the whole album delivered
# by Bot API (defaults to 5)
# Ignored if "albums_preserve_enabled" is false
albums_wait_time_seconds: 5
#### Redis-specific settings ####
redis:
# Connection string for your Redis Database
dsn: redis://redis_host/1
#### PostgreSQL-specific settings ####
postgres:
# Connection string for your PostgreSQL Database
dsn: postgresql+psycopg://bot:password@db_host/telegram