To forward audiobooks and ebooks from one telegram chat to other
- There are two ways of configuring the bot:
- Set Environment Variables
- Use
config.env
by creating a copy ofconfig.env.sample
and editing the values (overrides environment variables)
- Don't use both ways at the same time 🥴
Nᴀᴍᴇ | Dᴇsᴄʀɪᴘᴛɪᴏɴ | Dᴇғᴀᴜʟᴛ |
---|---|---|
API_ID |
Get from my.telegram.org | - |
API_HASH |
Get from my.telegram.org | - |
SESSION_STRING |
Use either BOT_TOKEN or SESSION_STRING for login (Given Preference) | - |
BOT_TOKEN |
Use either BOT_TOKEN or SESSION_STRING for login | - |
SUDO_USERS |
Space separated user IDs | - |
SOURCE_IDS |
Space separated chat IDs of the groups from where to forward | - |
DESTINATION_IDS |
Space separated chat IDs of the groups to forward to | - |
DOC_EXT |
Extensions of the Telegram Documents to forward (bot checks .{ext} in end or .{ext}. anywhere in the name) |
pdf epub azw3 zip mp3 m4b |
start
orup
: To get confirmation that bot is up