Skip to content

Commit

Permalink
Updated from Slack docs, 2024/03/11
Browse files Browse the repository at this point in the history
  • Loading branch information
Slack API Ref Buildbot committed Mar 11, 2024
1 parent ebf1467 commit 2a7b6f1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions events/member_joined_channel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,5 @@
"name": "member_joined_channel",
"desc": "A user joined a public channel, private channel or MPDM..",
"long_desc": "The member_joined_channel event is sent to all WebSocket connections and event subscriptions when users join all channel types including public and private channels, except direct messages between two users. For direct messages, there can only ever be two users, and members cannot be added. This even is also triggered upon creating a new channel. This example illustrates an absent inviter property, a result of a channel converting from public to private: This event is supported as a bot user subscription in the Events API. Workspace event subscriptions are also available for tokens holding at least one of the channels:read or groups:read scopes. Which events your app will receive depends on the scopes and their context. For instance, you'll only receive member_joined_channel events for private channels if your app has the groups:read permission. Even bot users receive this delightful event via Bot User subscription, when joining a channel. When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more",
"required_scope": "RTM",
"example": {
"type": "member_joined_channel",
"user": "W123ABC456",
"channel": "C123ABC456",
"channel_type": "C",
"team": "T123ABC456",
"inviter": "U123456789"
}
"required_scope": "RTM"
}

0 comments on commit 2a7b6f1

Please sign in to comment.