# UserFile

A file sent from a user to the agent.

| JSON representation |
|---|
| ``` { "thumbnail": { object (`https://developers.google.com/business-communications/rcs-business-messaging/reference/rest/v1/FileInfo`) }, "payload": { object (`https://developers.google.com/business-communications/rcs-business-messaging/reference/rest/v1/FileInfo`) } } ``` |

| Fields ||
|---|---|
| `thumbnail` | ``object (`https://developers.google.com/business-communications/rcs-business-messaging/reference/rest/v1/FileInfo`)`` (Optional) A thumbnail representing the file. Usually sent alongside image and video files. |
| `payload` | ``object (`https://developers.google.com/business-communications/rcs-business-messaging/reference/rest/v1/FileInfo`)`` The file. |