---
title: "Notify Room Stream (Realtime)"
slug: "notify-room-stream-realtime"
updated: 2026-05-14T21:49:09Z
published: 2026-05-14T21:49:09Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Notify Room Stream (Realtime)

![](https://cdn.us.document360.io/27ca1fd4-36d7-4cde-b4eb-97fc1652954c/Images/Documentation/Deprecated.svg)

Notify a room about some specific events.

## Events

- Typing
- user-activity

## Example call

```json
{
    "msg": "method",
    "method": "stream-notify-room",
    "id": "42",
    "params": [
        ... // params varies
    ]
}
```

## Typing

You can notify a room about a user typing on the keyboard.

### Payload parameters

| Argument | Example | Required | Description |
| --- | --- | --- | --- |
| `room-id/typing` | `64a1f373376181965ab77f54/typing` | Required | The room ID followed by `/typing`. |
| `username` | `testrc` | Required | The username. |
| `flag` | `true` | Required | A boolean indicating if the user is typing (`true`) or it's not typing (`false`). |

### Example call

```json
{
    "msg": "method",
    "method": "stream-notify-room",
    "id": "42",
    "params": [
        "room-id/typing",
        "username",
        true
    ]
}
```

## user-activity

You can notify a room about user activity like typing on the keyboard.

### Payload parameters

| Argument | Example | Required | Description |
| --- | --- | --- | --- |
| `room-id/user-activity` | `64a1f373376181965ab77f54/typing` | Required | The room is followed by `/user-activity` |
| `username` | `testrc` | Required | The username. |
| `events` | `["user-typing"]` | Required | A boolean indicating if the user is typing (`true`) or it's not typing (`false`). |
| `args` | {} |  |  |

### Example call

```json
{
    "msg": "method",
    "method": "stream-notify-room",
    "id": "42",
    "params": [
        "room-id/user-activity",
        "username",
        ["user-typing"],
        {}
    ]
}
```
