wit-ai/node-wit

Wit.message() method doesn't support msg_id param

pintux opened this issue · 2 comments

Method Wit.message() doesn't support sending msg_id param, as provided by HTTP API /message.

simple to add, in lib/wit.js --> Wit.message():

this.message = (message, context, msgId) => {
...
if (msgId) {
      qs += `&msg_id=${encodeURIComponent(msgId)}`;
}
...

merging with #189