Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

isTyping only seems to be supported when using sockets. #16

Open
jackdh opened this issue Oct 20, 2017 · 1 comment
Open

isTyping only seems to be supported when using sockets. #16

jackdh opened this issue Oct 20, 2017 · 1 comment
Labels

Comments

@jackdh
Copy link

jackdh commented Oct 20, 2017

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?

@benbrown
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants