Interface ByteContentFile.Builder

    • Method Detail

      • data

        ByteContentFile.Builder data​(SdkBytes data)

        The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.

        Parameters:
        data - The byte value of the file to attach, encoded as Base-64 string. 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.