# Use Telegram (beta)

> Connect your own Telegram bot so Dobby sends what waits for you with buttons, the daily update and answers to your messages, in one chat with no public URL.

:::caution
Telegram is in beta. Discord is the default and works as before. Pick one: Dobby talks to a single chat platform.
:::

Telegram is the lightest way to reach Dobby from a phone: one private chat with a bot you own. Dobby uses long polling, so nothing has to be reachable from the internet.

1. Run the setup and choose Telegram.

   ```bash title="Terminal"
   dobby init
   ```

   To add it later, run `dobby add telegram`.

2. In Telegram, open @BotFather and send `/newbot`. Pick a name and a username that ends in `bot`. BotFather sends back a token that looks like `123456789:AA...`.

3. Paste the token when Dobby asks. It is hidden and saved in your secrets file, never printed.

4. Open your new bot in Telegram, tap Start or send any message, then press Enter in the terminal. Dobby reads your chat id from that message and saves it.

   ```bash title="~/.config/dobby/secrets.env"
   TELEGRAM_BOT_TOKEN=<bot token>
   TELEGRAM_CHAT_ID=<your chat id>
   ```

Dobby sets `chat.platform` to `"telegram"`. `dobby telegram test` sends a hello for each kind of message. If `dobby jobs install` has not run yet, run it so the `listener` job starts. Dobby only obeys messages and taps from the saved chat; anyone else who finds the bot is ignored.

## What differs from Discord

- **One chat, no channels.** Telegram gets what you act on or read: #needs-you cards with buttons, the daily update, releases, system health and front desk answers. Ticket threads, Lead reports and idea cards stay on the dashboard.
- **Who is talking.** A bot has one name, so each message starts with the role that sent it, for example `Chief of Staff`.
- **Quiet by default.** Only #needs-you cards ping you; everything else arrives silently, and nothing pings between 23:00 and 08:00.
- **Plain text.** Headings and bold become plain lines; links show their address.
- **Write to the bot** to talk to the front desk, the same as #assistant on Discord.

To go back to Discord, run `dobby config set chat.platform discord`.
