Interface ByteContentFile.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ByteContentFile.Builder,ByteContentFile>, SdkBuilder<ByteContentFile.Builder,ByteContentFile>, SdkPojo
Enclosing class:
ByteContentFile

public static interface ByteContentFile.Builder extends SdkPojo, CopyableBuilder<ByteContentFile.Builder,ByteContentFile>
  • Method Details

    • 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.