Response functions
Play a response (in case of multiple patterns, a response is picked at random)
reply('pattern'[, 'patternN'])
Play a response
p.play('pattern')
Define voice settings for the assistant reply: accent (en, fr, de, it, ru, es)
, gender (male/female)
, voice type
, speaking pitch
, speaking rate
p.play([voice(code, gender, type, pitch, rate), ]'pattern')
Define play options: force:true
(execute if the button is inactive), activate:true
(activate the button before), deactivate:true
(deactivate the button after)
p.play('pattern'[, opts(options)])
Send a command to the app
p.play({command:data})
Comments