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
{
  "category": enum (FileCategory),
  "thumbnail": {
    object (FileInfo)
  },
  "payload": {
    object (FileInfo)
  }
}
Fields
category

enum (FileCategory)

The category the file belongs to.

thumbnail

object (FileInfo)

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

payload

object (FileInfo)

The file.