Skip to content

Commit

Permalink
Merge pull request #686 from seratch/update-readme
Browse files Browse the repository at this point in the history
Update README to refer authorizations rather than authed_users
  • Loading branch information
stevengill committed Nov 24, 2020
2 parents ca732ea + 7dbcbd4 commit 99b9c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Most of the app's functionality will be inside listener functions (the `fn` para
| `client` | Web API client that uses the token associated with that event. For single-workspace installations, the token is provided to the constructor. For multi-workspace installations, the token is returned by the `authorize` function.
| `respond` | Function that responds to an incoming event **if** it contains a `response_url` (shortcuts, actions, and slash commands). `respond` returns a promise that resolves with the results of responding using the `response_url`.
| `context` | Event context. This object contains data about the event and the app, such as the `botId`. Middleware can add additional context before the event is passed to listeners.
| `body` | Object that contains the entire body of the request (superset of `payload`). Some accessory data is only available outside of the payload (such as `trigger_id` and `authed_users`).
| `body` | Object that contains the entire body of the request (superset of `payload`). Some accessory data is only available outside of the payload (such as `trigger_id` and `authorizations`).


The arguments are grouped into properties of one object, so that it's easier to pick just the ones your listener needs (using
Expand Down

0 comments on commit 99b9c32

Please sign in to comment.