Comments (1)
The data I was looking for gets passed in the "body" argument to the event callback function. You get both an authorizations object and an event context which can be used to get all the authorizations for a given event.
Closing this report because that is the documented way of solving this problem.
However, it's insanely confusing and unexpected that the context for a DM message event can come back with a userToken value that's for a user completely uninvolved in the DM. The intended logic of the fetchInstallation interface and the query that's passed in to authorize
could use a little work.
from bolt-js.
Related Issues (20)
- `context.matches.groups` becomes undefined after a Web API call HOT 8
- Is it possible to get typing event or indicator when a user in slack starts typing in a message HOT 1
- `files` property missing in `app_mention` event HOT 3
- How to track of deleted users HOT 3
- External select not refreshing HOT 4
- Issue with extracting headers from incoming requests HOT 1
- User scope not working in OAuth HOT 3
- Message event payloads missing `team_id` in enterprise on mobile slack clients HOT 9
- Issue with `respond` to update message returning cant_update_message HOT 10
- Is there a way to get the event envelope and more specifically the event_context for a bolt message event? HOT 3
- Downloading file-content when user upload a file/s in bot conversation. HOT 4
- Event for mpim creation (user-token scope) HOT 1
- deferInitialization option during App creation is not clearly explained HOT 2
- Dispatch_failed Error for Slack Bot Slash Commands in Socket Mode on GCP VM with Docker HOT 3
- Slack - Support of LLM streaming HOT 5
- Slack Bot works in my workspace, but doesn't respond when Installed elsewhere HOT 21
- AWS Lambda - Slack bolt error on starting AWSLabmdaReceiver HOT 3
- How to build dynamic form HOT 1
- issue in getting bot token HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt-js.