Player Events

Player events are triggered when an audio message is being played.

player:started

This is triggered when an audio message starts playing. The payload is unused.

player:finished

This is triggered when an audio message stops playing. The payload is unused.

player:failed

This is triggered if an audio message fails to play. The payload contains a string with the reason that the message could not be played.