Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants