← All Guides
📱

Telegram Bot

Optional ~5 minutes

Connect a Telegram bot to chat with OpenMind from your phone and receive push notifications for deadlines, grade changes, and announcements.

What you'll need

  • - A Telegram account
  • - The Telegram app (mobile or desktop)
1

Create a Bot with BotFather

Open Telegram and search for @BotFather.

Send the command /newbot.

Follow the prompts:

BotFather: Alright, a new bot. How are we going to call it?
You: OpenMind Study Bot
BotFather: Good. Now let's choose a username for your bot.
You: my_openmind_bot
BotFather: Done! Here is your bot token:
7123456789:AAF...

The username must end in bot and be globally unique.

2

Get Your User ID

Search for @userinfobot on Telegram and start a chat.

It will immediately reply with your user ID:

Your user ID:

123456789

This ensures only you can talk to your bot.

3

Enter in OpenMind Setup

Run openmind setup telegram and paste both values:

Enable Telegram bot? [y/n]: y
Bot token: •••••••••
Token: 712345****AAF...
Your Telegram user ID: 123456789
 Validating... Bot connected! @my_openmind_bot
4

Start Chatting

Run openmind — it will launch in Telegram mode instead of terminal mode.

Open your bot in Telegram and send a message. You'll also get background alerts every 3 hours for:

  • - Upcoming deadlines (sorted by priority)
  • - Grade changes
  • - New course announcements
  • - Unsubmitted assignments