browseO365TeamConvChannels
Browse channels in a Teams conversations snapshot.
Arguments
| Argument | Type | Description |
|---|---|---|
| first | Int | Returns the first n elements from the list. |
| after | String | Returns the elements in the list that occur after the specified cursor. |
| snappableFid (required) | UUID! | The FID for the workload. |
| snapshotFidOpt | UUID | snapshotFid arg which is of optional type |
| excludeArchived (required) | Boolean! | |
| orgId (required) | UUID! | Org UUID. |
| channelMembershipTypeFilter (required) | ChannelMembershipType! | Filter on channel membership type. |
| nameFilter | String |
Returns
O365TeamConvChannelConnection!
Sample
query BrowseO365TeamConvChannels($snappableFid: UUID!, $excludeArchived: Boolean!, $orgId: UUID!, $channelMembershipTypeFilter: ChannelMembershipType!) {
browseO365TeamConvChannels(
snappableFid: $snappableFid
excludeArchived: $excludeArchived
orgId: $orgId
channelMembershipTypeFilter: $channelMembershipTypeFilter
first: 10
) {
nodes {
channelId
folderId
isArchived
membershipType
name
naturalId
}
pageInfo {
hasNextPage
endCursor
}
}
}
{
"data": {
"browseO365TeamConvChannels": {
"nodes": [
[
{
"channelId": "example-string",
"folderId": "example-string",
"isArchived": true,
"membershipType": "ALL",
"name": "example-string",
"naturalId": "example-string"
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}