Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pintux opened this issue Dec 21, 2017 · 2 comments
Closed

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

pintux opened this issue Dec 21, 2017 · 2 comments

Comments

@pintux
Copy link

pintux commented Dec 21, 2017

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

@pintux
Copy link
Author

pintux commented Jan 11, 2018

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

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

@jtliao
Copy link
Contributor

jtliao commented May 30, 2019

merging with #189

@jtliao jtliao closed this as completed May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants