botkit-starter-web icon indicating copy to clipboard operation
botkit-starter-web copied to clipboard

isTyping only seems to be supported when using sockets.

Open jackdh opened this issue 8 years ago • 1 comments

Hey again,

I've noticed that isTyping does not seem to work when using webhooks.

        bot.startTyping = function() {
            if (bot.connected) {
                bot.ws.send(JSON.stringify({
                    type: 'typing',
                }));
            }
        };

I guess this is due to the limitation of webhooks against sockets. However is there a plan to implement a work around for this?

jackdh avatar Oct 20 '17 10:10 jackdh

I have a vague plan to handle this - to move the typing delays to the front end client when using webhooks. But it requires some other changes deep inside Botkit, so the timeline for now is unknown.

benbrown avatar Oct 20 '17 15:10 benbrown