Skip to main content

object

UploadResponse

LLM
View as Markdown
Open llms.txt

Uploaded media reference for message content.

Properties

  • Name
    mediaId
    Type
    string
    Description
    Handle to pass as `content.media.mediaId` when sending a media message.
  • Name
    mediaType
    Type
    enum
    Description
    Required property. Allowed values: image, document, video, audio.
  • Name
    mimeType
    Type
    string
    Description
    Required property.
  • Name
    filename
    Type
    string
    Description
    Optional property.
  • Name
    fileSize
    Type
    integer
    Description
    Required property.
  • Name
    url
    Type
    string
    Description
    Internal media handle retained for compatibility. Prefer `mediaId` in send requests.

Related operations