# Telegram Alerts

Follow these steps to integrate your Telegram group with the **HostelMate Notification Bot** and start receiving notifications for new bookings and modifications.

### Step 1: Create a Telegram Group

1. Open the **Telegram app** on your mobile or desktop.
2. Tap the **pencil icon** or **New Message**.
3. Select **New Group**.
4. Add **@hostelmate\_bot** to the group.
5. Add any staff or managers who should receive the alerts.
6. Tap **Next**.
7. Name the group.
8. Tap **Create**.

### Step 2: Get the Group ID

1. Open **Telegram Web** at <https://web.telegram.org>.
2. Open the group you just created.
3. Look at the URL in the address bar.
4. The **Group ID** is the number after the `#`.

Example:

```
https://web.telegram.org/k/#-1234567890
```

### Step 3: Access the Finance Portal

1. Log in to the **finance portal**.

### Step 4: Add the Group ID in the System

1. In the finance portal, open **Settings > Telegram Alerts**.
2. Paste the **Telegram group ID** into the field.
3. Click **Save** to confirm the setup.

Once the group ID is saved and the `@hostelmate_bot` is in the group, you will start receiving booking alerts in Telegram.

## Stop Notifications

1. Open **Settings > Telegram Alerts**.
2. Clear the **group ID** field.
3. Click **Save**.
