Query
query ConnectedMSTeamsChannels {
connectedMSTeamsChannels {
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
workspaceId
msTeamsTenantId
msTeamsTeamId
msTeamsChannelId
name
}
}
totalCount
}
}Response
{
"data": {
"connectedMSTeamsChannels": {
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"workspaceId": "id",
"msTeamsTenantId": "id",
"msTeamsTeamId": "id",
"msTeamsChannelId": "id",
"name": "string"
}
}
],
"totalCount": 1
}
}
}Queries
connectedMSTeamsChannels
Returns a paginated list of Microsoft Teams channels that are connected to this workspace. Supports forward and backward cursor pagination. Not connected yet? Connecting needs the user’s approval in the provider. The Plain app page is https://app.plain.com/workspace/w_…/install/ms-teams.
QUERY
connectedMSTeamsChannels(first: Int, after: String, last: Int, before: String): ConnectedMSTeamsChannelConnection!Arguments
first
Int
after
String
last
Int
before
String
pageInfo
edges
totalCount
Int!
Query
query ConnectedMSTeamsChannels {
connectedMSTeamsChannels {
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
workspaceId
msTeamsTenantId
msTeamsTeamId
msTeamsChannelId
name
}
}
totalCount
}
}Response
{
"data": {
"connectedMSTeamsChannels": {
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"workspaceId": "id",
"msTeamsTenantId": "id",
"msTeamsTeamId": "id",
"msTeamsChannelId": "id",
"name": "string"
}
}
],
"totalCount": 1
}
}
}Was this page helpful?

