fun playAudioMessage(audioMessage: AudioMessage, config: MessageConfig, playbackListener: MessagePlaybackListener): Cancellable
Synthesizes an audio message. Message queuing depends on MessageConfig.priority. If the message currently being synthesized has priority equal or higher to the audioMessage, the new message will be added to the queue (taking the priorities of queued messages into account). If the message currently being synthesized has a lower priority, it will be interrupted and audioMessage will be processed right away.
Cancellable which can be used to cancel the operation. If audioMessage processing has already started, it will be stopped and MessagePlaybackListener.onStop will be called.
Audio message to be synthesized.