Telegram Setup
Create a bot with BotFather
Section titled “Create a bot with BotFather”- Open Telegram and search for @BotFather
- Send
/newbot - Choose a display name (e.g. “My Claude”)
- Choose a username ending in
bot(e.g.my_claude_bot) - Copy the bot token — it looks like
123456789:ABCdefGHIjklMNOpqrsTUVwxyz
Recommended bot settings
Section titled “Recommended bot settings”While you’re in BotFather, configure these optional settings:
/setprivacy— set to Disable if you want the bot to see all messages in group chats (required for group chat support without @mentions)/setcommands— paste the following to register command autocompletion:
context - List or switch contextsclear - Start a fresh sessionstatus - Show current statuscancel - Abort running taskmodel - Show or change modelresume - List or resume sessionsreview - Open the review Mini Appschedule - Manage scheduled taskstasks - List background tasksusage - Show API usage statsvnc - Open VNC viewerlogin - Authenticate for Mini Appsmcp - Manage MCP serversrestart - Restart the botFind your Telegram user ID
Section titled “Find your Telegram user ID”OpenShrimp only responds to users in the allowed_users list. To find your user ID:
- Open Telegram and search for @userinfobot
- Send any message
- It replies with your numeric user ID (e.g.
123456789)
Add this number to your config file’s allowed_users list.
Next steps
Section titled “Next steps”Now configure the bot — see Configuration.