what is the easiest way to attach "quick replies" to every possible message?
I'm developing a bot, which it's main platform is FB, and i want to use quick replies. the solution i see right now, is creating functions for all prompts etc, and reconstruct it with "sourceEvent".
is there a better way?
In Bot Framework library there is a file named ChatConnector where we have a such function which handles incoming messages:
There after preparing the message, this method is called:
this.handler([msg]);So I suggest you to edit the
handlerfunction there to send quick replies, or create another function and pass the message to it before or after sending it tothis.handler.Yes, actually this is a little bit hacky method, but I believe this should work.