channel_convert_to_private message
This channel was made private. Now, it can only be viewed or joined by invitation
Facts
Required Scopes
Usage info
This example includes both the event wrapper and the event structure for the channel_convert_to_private message subtype event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"subtype": "channel_convert_to_private",
"user": "U1234ABCD",
"text": "made this channel *private*. Now, it can only be viewed or joined by invitation.",
"type": "message",
"ts": "1730984822.596869",
"channel": "C1234ABCD",
"event_ts": "1730984822.596869",
"channel_type": "group"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
A channel_convert_to_private message is sent when a channel is made private. Now, it can only be viewed or joined by invitation.