Spaces:
No application file
No application file
Upload bot_example_config.py
Browse files- bot_example_config.py +28 -0
bot_example_config.py
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Telegram app id and hash
|
2 |
+
TELEGRAM_CLIENT_HASH = ''
|
3 |
+
TELEGRAM_CLIENT_ID = 0
|
4 |
+
|
5 |
+
# Telegram bot token from @BotFather
|
6 |
+
TELEGRAM_BOT_TOKEN = ''
|
7 |
+
|
8 |
+
# The username of the telegram bot.
|
9 |
+
TELEGRAM_BOT_USERNAME = ''
|
10 |
+
|
11 |
+
# Username handler of the owner of the bot. Used for GDPR
|
12 |
+
BOT_OWNER_USERNAME = '@'
|
13 |
+
|
14 |
+
# Special client ID to access the sydney chat.
|
15 |
+
# It's not shared with the public to prevent abuse. If you got your hands on it, it's your responsability how you use it.
|
16 |
+
SYDNEY_CLIENT_ID = 0
|
17 |
+
|
18 |
+
# Enables suggestions in inline queries
|
19 |
+
# Same as with the client id, I preffer to not share it to the public, or even mention how to get it. And the same as above
|
20 |
+
# If you got your hands on it, it's your responsability how you use it.
|
21 |
+
SUGGESTIONS_API_KEY = ''
|
22 |
+
|
23 |
+
# Postgres database connection string
|
24 |
+
POSTGRES_CONNECTION_STRING = ''
|
25 |
+
|
26 |
+
# DO NOT TOUCH!! AUTOMATICALLY GENERATED BY THE SCRIPT ON THE FIRST RUN
|
27 |
+
# b'IwjIw_ewCyTzBjdH6OQejKsr_e-hqc8PfsYN7CsAXRI='
|
28 |
+
COOKIE_ENCRYPTION_KEY = None
|