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

Important slack event details missing from 'message' object. #1911

Closed
BhuwanBhaskar opened this issue Feb 7, 2020 · 2 comments
Closed

Important slack event details missing from 'message' object. #1911

BhuwanBhaskar opened this issue Feb 7, 2020 · 2 comments
Assignees
Milestone

Comments

@BhuwanBhaskar
Copy link

Ref:

If slack events come as event_callback type then 'authed_users' list is missing from botkit 'message' object.
This is an important information which is missing as we use this list of authed users (for unfurl) to get user details from database.
I think whole payload of slack event should be attached in message object (like in previous botkit versions)

@benbrown
Copy link
Contributor

@BhuwanBhaskar ah, hrrm! That field is outside of the main payload.

We should at least copy it into channelData along with the main event.

@benbrown benbrown added this to the 4.6.+ milestone Feb 10, 2020
@benbrown benbrown self-assigned this Feb 10, 2020
@benbrown
Copy link
Contributor

This will be addressed in the next release -> #1929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants