> For the complete documentation index, see [llms.txt](https://docs.altu.d1.cx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.altu.d1.cx/build/assistentes/builder/componentes/input/liveperson_file_upload.md).

# Upload de arquivo LP

## Estrutura

{% hint style="warning" %}
Recurso disponível apenas no canal **LivePerson**
{% endhint %}

```javascript
{
    "default": {
        "type": "file",
        "payload": {}
    }
}
```

## Atributos

* **type:** file
* **payload:** {}

Abaixo pode ser visto o objeto resultante do upload do arquivo. Se quisesse obter o nome do arquivo, seria feito assim: `input.file.name`

```javascript
{
    "input": {
        "file": {
            "url": "url do arquivo",
            "name": "nome do arquivo",
            "buffer": "buffer do arquivo",
            "contentType": "contentType do arquivo",
            "type": "tipo/extensão do arquivo",
            "success": true|false,
            "message": "ALTU_FILE",
        }
    }
}
```
