io.github.nafg.dialoguestate.CallState.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core_3 Show documentation
Show all versions of core_3 Show documentation
Define a Twilio app in terms of a sane call tree
The newest version!
package io.github.nafg.dialoguestate
sealed trait CallState
object CallState {
case class Const(callTree: CallTree) extends CallState
case class Digits(gather: CallTree.Gather, handleDigits: String => CallTree.Callback) extends CallState
case class Recording(record: CallTree.Record, handleRecording: RecordingResult => CallTree.Callback) extends CallState
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy