uploadGreeting

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

Upload a custom greeting.

Return

RainbowResult callback

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.