FileInfo

  • The data describes a file sent by a user, providing key details about it.

  • The file's MIME type, size in bytes, name, and URI are included in the data.

  • mimeType is a string field representing the file's MIME type.

  • fileSizeBytes represents an integer value indicating the file's size in bytes.

  • fileName and fileUri represent the name and URI of the sent file respectively, and are both strings.

Information about a file sent from a user to the agent.

JSON representation
{
  "mimeType": string,
  "fileSizeBytes": integer,
  "fileName": string,
  "fileUri": string
}
Fields
mimeType

string

MIME type of the file.

fileSizeBytes

integer

Size of file (in bytes).

fileName

string

Name of the file.

fileUri

string

URI of the file.