Skip to content

feat(types): add the user_connection_status_requested event - #2783

Draft
WilliamBergamin wants to merge 1 commit into
mainfrom
feat-user-connection-status-requested-event
Draft

WilliamBergamin wants to merge 1 commit into
mainfrom
feat-user-connection-status-requested-event

Conversation

@WilliamBergamin

@WilliamBergamin WilliamBergamin commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This pull request adds the user_connection_status_requested event to @slack/types.

Testing

From an app with features.user_connections enabled and subscribed to the event:

app.event('user_connection_status_requested', async ({ event, client }) => {
  await client.apps.user.connection.update({ user_id: event.user, status: 'disconnected' });
});
  1. Confirm event.user type-checks without casts.
  2. Open the app as a user without a recorded connection status and confirm the event arrives and the update succeeds.

Requirements

🤖 Generated with Claude Code

Slack sends this event when it has no connection status for a user, so
apps answer with apps.user.connection.update. Adding it to SlackEvent
types the event in Bolt listeners.
@changeset-bot

changeset-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 49767a0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@slack/types Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.39%. Comparing base (1fabb45) to head (49767a0).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2783      +/-   ##
==========================================
- Coverage   89.40%   89.39%   -0.01%     
==========================================
  Files          65       65              
  Lines       10545    10545              
  Branches      478      478              
==========================================
- Hits         9428     9427       -1     
  Misses       1086     1086              
- Partials       31       32       +1     
Flag Coverage Δ
cli-hooks 89.35% <ø> (ø)
cli-test 89.35% <ø> (ø)
logger 89.35% <ø> (ø)
oauth 89.35% <ø> (ø)
socket-mode 89.35% <ø> (ø)
web-api 89.35% <ø> (ø)
webhook 89.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant