TeamInfo
Retrieves the Do Not Disturb status for up to 50 users on a team.
Select
The add-in uses the Slack API to filter the results by the following columns and operators while the rest of the filter is executed client-side within the add-in.
The TeamInfo table requires User column in the WHERE clause; otherwise, the driver will automatically add the column.
- User supports the =,IN operator.
SELECT * FROM TeamInfo WHERE User = 'U01KZFNNTPC'
SELECT * FROM TeamInfo WHERE User IN ('U01KZFNNTPC','U04QTH44D9S')
Columns
Name | Type | Description |
User | String | The Id of the user. |
DndEnabled | Boolean | Indicates whether DND is enabled. |
NextDndStartTime | Datetime | Next DND Start time. |
NextDndEndTime | Datetime | Next DND End time. |