We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
As per the docs :- https://api.slack.com/methods/channels.history
To retrieve a single message, specify its ts value as latest, set inclusive to true, and dial your count down to 1.
This requires taking a messageID (timestamp) which none of the methods do.
My use case is that I need the message text that a user reacts to.
The text was updated successfully, but these errors were encountered:
Here's an impl of it. Tested and working.
shanness@911537a
Doesn't work with non user messages (i.e. bot messages etc) due to this :-
if (GsonHelper.getStringOrNull(event.get("subtype")) == null) { messages.add((SlackMessagePosted) SlackJSONMessageParser.decode(session, event)); }
Not sure of the thinking there.
Sorry, something went wrong.
Pull request on this one ?
Done with cbbe175
No branches or pull requests
As per the docs :-
https://api.slack.com/methods/channels.history
This requires taking a messageID (timestamp) which none of the methods do.
My use case is that I need the message text that a user reacts to.
The text was updated successfully, but these errors were encountered: