botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Skype Bot "session.sendTyping();"

Open VishalWaman opened this issue 10 years ago • 9 comments

Skype Bot " session.sendTyping();" Node.js (Brevity added)

We tried this some places and seems not working in our case.

` //LEDGER INTENT HANDLER FROM LUIS intents.matches('ledger', [

function (session, args) {
    var ClientCode = session.dialogData.ClientCode = builder.EntityRecognizer.findEntity(args.entities, bothelper.testent);

    if(ClientCode) {
        var ledger = testhelper.test(ClientCode);
        session.send('You ledger amount : ' + ledger);
        builder.Prompts.text(session,'What more we can do ?');
    }
    else {
        // MAKE SESSION NULL
        session.dialogData.ClientCode = null;
        builder.Prompts.text(session, ''+ bothelper.ClientCode);
    }
},
function (session, results) {

  session.sendTyping();
    testhelper.testhelper(results.response,function (result) {

        if (bothelper.validReply(result)) {
            session.send('You ledger amount : ' + result + ' (y)');
        }
        builder.Prompts.text(session,'What more we can do ?');

    });
}

]);`

VishalWaman avatar Aug 05 '16 17:08 VishalWaman

Just wanted to mention, that sending a Typing-Message over skype doesnt work with the C# SDK aswell.

NanashiGIT avatar Aug 05 '16 18:08 NanashiGIT

I don't believe they currently support bots sending a typing indication. I'll let them comment.

Stevenic avatar Aug 06 '16 21:08 Stevenic

This works with channel emulator.

VishalWaman avatar Aug 07 '16 14:08 VishalWaman

The emulator supports everything so it's not an accurate simulation of any one channel.

Stevenic avatar Aug 07 '16 14:08 Stevenic

Confirming Skype doesn't support typing indicator for bots today.

nickcordrey avatar Aug 08 '16 22:08 nickcordrey

Hi folks,

do you know which channels support this?

thanks!

0GiS0 avatar Aug 29 '16 11:08 0GiS0

Facebook does. I have tried it..

VishalWaman avatar Aug 29 '16 11:08 VishalWaman

in c# ????

Yudner avatar Jul 25 '17 05:07 Yudner

@Yudner You are commenting on a closed issue.

If you have a question or problem, please open a new issue.

nwhitmont avatar Aug 04 '17 01:08 nwhitmont