public static Key JOIN_PROMPT ( String value , Voice voice ) { Map < String , String > map = new HashMap < String , String > ( ) ; map . put ( "value" , value ) ; if ( voice != null ) { map . put ( "voice" , voice . toString ( ) ) ; } return createKey ( "joinPrompt" , map ) ; }
Defines a prompt that plays to all participants of a conference when someone joins the conference . It s possible to define either TTS or an audio URL using additional attributes value and voice