# user_message

Canonical URL: https://developers.iagenify.com/sdk/agent/events/user-message/
Language: en

`{ type: "user_message", id, text, images }`

A queued message has just entered the conversation. It comes before the turn that reads it — the place to show the message in the transcript.

Status: from queue() · before the next turn · SDK 0.5.4+

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `id` | string |  | The id `queue()` returned. |
| `text` | string |  | The message. |
| `images` | number |  | How many images came with it. |

## Splitting the answer around it {#transcript}

What the agent wrote before this event answered the earlier message; what follows answers this one. An interface closes the reply in progress, shows the user's message, and opens a new reply under it.

- [queue()](/sdk/ref/local-agent/queue): Where it comes from.
- [done](/sdk/agent/events/done): Where unsent messages come back.
