togglePlayback

fun togglePlayback(attachment: Attachment)

Plays or pauses a playable audio attachment: a voice recording or a regular audio file.