uploadGreeting

abstract fun uploadGreeting(busy: Boolean, byteArray: ByteArray, mimeType: String, listener: RainbowListener<Unit, Unit>?)

Upload a custom greeting.

Parameters

busy

Boolean true to upload the busy greeting, false to upload the unavailable one.

byteArray

ByteArray the content of the audio file.

mimeType

String the content type of the audio file.

listener

RainbowListener optional callback