> For the complete documentation index, see [llms.txt](https://docs.imbee.me/imbee-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imbee.me/imbee-docs/autobots/elementos/text.md).

# Text

### Estructura

* msg: Mensaje que se quiera mostrar por pantalla. Debe ser del tipo string
* type:  Tipo de elemento. Debe ser del tipo string

El texto en el campo msg admite formato tipo markdown y reemplazo de variables:&#x20;

* \n: Salto de línea
* \*\* texto \*\*: Texto en negrita

Si la variable @name está declarada y tiene un valor se reemplazará en el mensaje mostrado.&#x20;

{% hint style="warning" %}
Los elementos del tipo text no permiten declarar variables. Para mas información sobre variables haz [click aquí](/imbee-docs/autobots/variables.md).
{% endhint %}

```yaml
{
    "msg": "Bienvenido al bot de **imbee** @name",
    "type": "text"
}
```

### Ejemplo de uso

```yaml
{
    "steps": [
        {
            "name": "welcome",
            "tags": ["init"],
            "actions": [
                {
                    "msg": "Bienvenido al bot de **Imbee** @name",
                    "type": "text"
                },
                {
                    "msg": "Aquí puedes mostrar otro mensaje\n Incluso con salto de línea",
                    "type": "text"
                },
                {
                    "msg": "Puedes poner tantos mensajes como quieras...",
                    "type": "text"
                }
            ],
            "next_step": "step_2"
        }
    ]
}
```

![Resultado del ejemplo de uso](https://1978994637-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKufUKQJLjj5_Yba0XG%2F-LjuFvV2242QN-_kziXi%2F-LjuH1mi94ED76gloscW%2Felement_text.png?alt=media\&token=74c2ccb3-b44b-4c16-b2d1-d64bed6ffed4)
