# Let the family ask your home AI in a Telegram group — complete setup

Work with the reader on their home computer. Ask them to choose the project and enter any passwords or tokens in the product. Check each result before continuing.

## Complete setup {#steps}

On the home computer, [install Oysterun](/getting-started/install/en/index.html), [install and sign in to a provider](/getting-started/install/en/index.html#choose-provider), then [start your first Session](/getting-started/install/en/index.html#first-session).

1. Create a trip folder with an itinerary and hotel notes. Include tomorrow’s departure, forecast and nearby shops. Start a Session in that folder and leave the computer awake.
2. In Telegram open **@BotFather**. Send `/newbot`, give it a display name (e.g. Trip Helper), then an available username ending in `bot`. BotFather returns the token. Keep it private.
3. Send `/setjoingroups`, choose the bot and **Enable**. Send `/setprivacy`, select the same bot and **Disable**. In the family group open its member list, choose **Add Members** and select the bot by username. Remove and re-add it if it was already a member before the privacy change.
4. Gather each family member’s Telegram username or numeric user ID. Without a username, that member can use Telegram Desktop **Settings → Advanced → Export Telegram data**, select **Account information** and **Machine-readable JSON**, then check whether **Download path** appears. If it does, note the folder. Click **Export**. When finished, click **Show my data** and open the export’s `result.json`. Copy only `personal_information.user_id`. Oysterun silently rejects unlisted senders. A dot (`.`) admits everyone who can contact the bot, so enter only your family.
5. Select the trip Session. Open the command palette (**⌘⇧P** on Mac or **Ctrl+Shift+P**), choose **Open Session Profile**, then find **Telegram**. Turn on **Telegram enabled**, enter the private **Bot Token** and comma-separated **Allowed Users**. Select **Save to .oysterun/config.json + local.json**, then **Save**.
6. From an allowed family account, **mention the bot by its actual @username** or reply to its message. Try “What should I wear for photos?”, “When should we get up?” or “Is there a supermarket nearby?” The question appears in the trip Session and the answer returns to the group. In a family group, Oysterun still checks addressing even with BotFather privacy disabled.


<details>
<summary>Equivalent CLI for an agent</summary>

Run inside the trip Session. Set the token privately in the environment and supply the comma-separated family allowlist.

```sh
"$OYSTERUN_CLI_BIN" sessions telegram update --telegram-enabled true --telegram-bot-token "$TRIP_BOT_TOKEN" --telegram-allowed-users "$TRIP_FAMILY_USERS" --persist-config true --json
```

[Telegram Desktop labels](https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/Resources/langs/lang.strings) · [BotFather](https://core.telegram.org/bots/features#botfather) · [Telegram Desktop JSON](https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/SourceFiles/export/output/export_output_json.cpp)

</details>


Paste into your Oysterun Session for guided setup:

```prompt
/oysterun_telegram_skill Walk me through connecting this trip Session to a family Telegram group. Ask for the family allowlist, show where I enter the token privately, then help us verify an addressed group question and reply. https://oysterun.com/guides/telegram-family-trip-full/en/index.html
```
