Telegram Bot Creation Guide
To use paperless-genie, you need to register a new bot with Telegram and obtain a Telegram Bot Token.
π€ Step-by-Step Registration
- Find BotFather: Open Telegram and search for
@BotFather(the official bot used to create and manage other bots). - Create New Bot: Send the
/newbotcommand to BotFather. - Choose Name: BotFather will ask for a name. Enter a friendly name for your bot (e.g.,
Paperless Genie). - Choose Username: Choose a unique username that ends with
bot(e.g.,my_paperless_archive_bot). - Get Token: Once created, BotFather will message you a HTTP API Token (e.g.,
123456789:ABCdefGhIJKlmNoPQRsTUVwxyZ). Copy this token; you will need it for theTELEGRAM_BOT_TOKENenvironment variable.
π Get Your Telegram User ID
Since paperless-genie only responds to authorized users, you need to find your Telegram User ID:
- Search for
@userinfobotor@GetIDsBotin Telegram. - Start a conversation with it.
- It will reply with your unique Id (a numeric value like
52966251). - Keep this ID handy; you will map it to your Paperless API Token in the configuration step.