Interface ByteContentFile.Builder

  • Method Details

    • data

      The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.

      Parameters:
      data - The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaType

      ByteContentFile.Builder mediaType(String mediaType)

      The MIME type of data contained in the file used for chat.

      Parameters:
      mediaType - The MIME type of data contained in the file used for chat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.