botframework - MS Bot Emulator - keep the microphone on? -


does know of way force bot emulator microphone stay on (keep listening?) can converse bot (and not have keep pressing microphone icon in bottom right?)

i'm not sure how behaves in emulator, might want try setting inputhint of message expectinginput.

per the docs (these node.js version possible in c#).

expecting input

to indicate bot awaiting response user, set message's input hint builder.inputhint.expectinginput. on many channels, cause client's input box enabled , microphone open. following code example creates prompt indicates bot expecting user input.

builder.prompts.text(session, 'this text displayed.', {                                         speak: 'this text spoken initially.',     retryspeak: 'this text spoken after waiting while user input.',       inputhint: builder.inputhint.expectinginput }); 

Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -