UserFile

  • UserFile represents a file sent from a user to the agent.

  • It includes fields for the file's category, an optional thumbnail, and the file payload itself.

  • The structure is provided in JSON format and described with field details including type and description.

A file sent from a user to the agent.

JSON representation
{
  "thumbnail": {
    object (FileInfo)
  },
  "payload": {
    object (FileInfo)
  }
}
Fields
thumbnail

object (FileInfo)

(Optional) A thumbnail representing the file. Usually sent alongside image and video files.

payload

object (FileInfo)

The file.