botkit-starter-web
botkit-starter-web copied to clipboard
isTyping only seems to be supported when using sockets.
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?
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.