# AI Server. Enviar mensaje

Envía un mensaje al chat especificado de Sherpa AI Server.

<table data-header-hidden><thead><tr><th width="305.699951171875" valign="top"></th><th width="322.45001220703125" valign="top"></th></tr></thead><tbody><tr><td valign="top">ID del Chat</td><td valign="top"><p>[Número] ID del chat.</p><p>El valor se puede obtener del bloque "AI Server. Obtener mensajes" a partir del parámetro Thread_Id.</p></td></tr><tr><td valign="top">Rol</td><td valign="top">Rol con el que se enviará el mensaje.</td></tr><tr><td valign="top">Texto</td><td valign="top">[Texto] Texto del mensaje.</td></tr><tr><td valign="top">Tiempo de espera</td><td valign="top">[Número] Tiempo máximo de espera de respuesta en segundos.</td></tr><tr><td valign="top">Resultado</td><td valign="top">[Referencia] Objeto con los datos del mensaje enviado.<br><br>Propiedades disponibles: message_id, thread_id, file_id, folder_id.</td></tr><tr><td valign="top">Nivel de procesamiento</td><td valign="top"><p>Selección del nivel de procesamiento de errores. Valores posibles:</p><ul><li>"Default" - por defecto;</li><li>"Ignore" - los errores se ignoran;</li><li>"Handle" - los errores se procesan.</li></ul><p>Si se selecciona el valor "Default", se utilizará el valor del bloque "Inicio" de este diagrama.</p></td></tr><tr><td valign="top">Nivel de mensajes</td><td valign="top"><p>Selección del nivel de mensajes que mostrarán los bloques durante la ejecución. Valores posibles:</p><ul><li>"Default" - por defecto;</li><li>"Release" - la salida está deshabilitada;</li><li>"Debug" - salida de información principal;</li><li>"Detailed" - salida de información detallada.</li></ul><p>Si se selecciona el valor "Default", se utilizará el valor del bloque "Inicio" de este diagrama.</p></td></tr><tr><td valign="top">Texto de error</td><td valign="top">[Texto] Devuelve información detallada sobre el error en caso de ejecución incorrecta del bloque.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/es/sherpa-rpa/sherpa-designer/spravochnik-blokov/mashinnoe-obuchenie-machine-learning/ai-server.-otpravit-soobshenie-sherpaaisendmessage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
