-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Missing fields in AppMentionEvent #961
Comments
I guess it would be a matter of adding |
Actually I guess an app_mention event can have all the fields as in MessageEvent. slack/slackevents/inner_events.go Lines 101 to 139 in 93fe17c
|
Would it just make sense to make
type AppMentionEvent struct {
MessageEvent
} I ran into this bug myself where I didn't reference another bot but |
@chrisgoffinet I agree with you on that. The only issue would be that that would be a breaking change in the code unfortunately if the following would be implemented:
I hope the maintainers of this repo would look into this! |
AppMentionEvent may have attachments, if referenced by another bot.
Example payload:
slack/slackevents/inner_events.go
Lines 18 to 33 in 93fe17c
Currently using ParseEvent can only parse inner events (AppMentionEvent) in the format:
The text was updated successfully, but these errors were encountered: