Skip to main content

team_pref_change event

A preference has been updated

Facts

Required Scopes
No scopes required!
Compatible APIs

Usage info

This example includes both the event wrapper and the event structure for the team_pref_change event.

{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "team_pref_change",
"name": "slackbot_responses_only_admins",
"value": true
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}

The team_pref_change event is sent to all connections for a workspace when a preference is changed. Where appropriate clients should update to reflect new changes immediately.