# Text

> Text component.

- ID: `advmsgcmp_content_text`
- Type: Block
- Category: [Advanced Messages](https://inventor.bot/docs/reference/blocks/advanced-messages.md)

- Can only be placed inside `respond_interaction_advanced` (message_components), `send_advanced_message` (message_components), `advmsgcmp_layout_container` (children), `advmsgcmp_layout_section` (children).

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `content` | yes | Content of the text component. | e.g. `"Hello world!"` |

**Example**

```go
respond_interaction_advanced(Args{
	message_components: func() {
		advmsgcmp_content_text(Args{content: "Hello world!"})
	},
})
```

## Placement

Can only be placed inside:

- [Respond to Interaction with Advanced Message](https://inventor.bot/docs/reference/blocks/interactions/respond-interaction-advanced.md) (`respond_interaction_advanced`), in `message_components`
- [Send Advanced Message](https://inventor.bot/docs/reference/blocks/messages/send-advanced-message.md) (`send_advanced_message`), in `message_components`
- [Message Container](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-layout-container.md) (`advmsgcmp_layout_container`), in `children`
- [Section](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-layout-section.md) (`advmsgcmp_layout_section`), in `children`