Created
April 11, 2021 15:53
-
-
Save kinisoftware/da62ae30ea65401ce406eaef8c39442e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun HandlerInput.buildResponse(audioUrl: String, offsetInMillis: Long? = 0L) = responseBuilder | |
.addAudioPlayerPlayDirective( | |
PlayBehavior.REPLACE_ALL, | |
offsetInMillis, | |
null, | |
"token", | |
audioUrl | |
) | |
.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment