you can limit the use of your bot by Telegram users. In this case, your bot will serve only those
users whose name in the telegram matches the existing user name in your Simple OPDS database.
#### 2. Configuring the MySQL database (optional, but very desirable for increasing performance).
2.1 To work with a large number of books, it is highly advisable not to use sqlite, but to configure MySQL databases to work. MySQL is much faster than sqlite. In addition, SQLite is a single-user database, i.e. during scanning access to a DB it will be impossible.
@@ -366,3 +385,12 @@ an extraordinary scan of the collection will be launched, and the specified flag
**SOPDS_CACHE_TIME** - Pages cache time
(default is SOPDS_CACHE_TIME = 1200)
**SOPDS_TELEBOT_API_TOKEN** - API TOKEN for Telegram Bot
**SOPDS_TELEBOT_AUTH** - If True, the Bot will grant access to the library, only to users whose name in the Telegram matches the name
existing user in the Simple OPDS database.
(by default SOPDS_TELEBOT_AUTH = True)
**SOPDS_TELEBOT_MAXITEMS** - The maximum number of simultaneously displayed items in the Telegram message