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

Add ability to update messages #11

Closed
fabianthoma opened this issue Jan 24, 2015 · 2 comments
Closed

Add ability to update messages #11

fabianthoma opened this issue Jan 24, 2015 · 2 comments

Comments

@fabianthoma
Copy link
Contributor

To be able to add update functionallity to messages there needs to be a capability put into place in this library. Please see slackapi/hubot-slack#91 for the requirements in hubot.
I'd be happy to implement this capability, however I don't understand in which ways the message can be updated. I've found this method, but it uses the HTTP API: https://api.slack.com/methods/chat.update Is there also a way to do this via the realtime API?

@paulhammond
Copy link
Contributor

There isn't a way to update a message using the real time API, but the API token used by node-slack-client can also make calls to the web API, including the chat.update method. Take a look at the places in the code where @_client._apiCall appears for some examples!

@paulhammond
Copy link
Contributor

I just realized you already implemented this in #14. Thanks!

aoberoi added a commit to aoberoi/node-slack-sdk that referenced this issue Mar 20, 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