Mutation
mutation RefreshConnectedDiscordChannels($input: RefreshConnectedDiscordChannelsInput!) {
refreshConnectedDiscordChannels(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"discordGuildId": "string"
}
}Response
{
"data": {
"refreshConnectedDiscordChannels": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
refreshConnectedDiscordChannels
Syncs the list of Discord channels for a guild from the Discord API into Plain. Call this after channels are added or renamed in Discord so that connectedDiscordChannels reflects the latest state.
MUTATION
refreshConnectedDiscordChannels(input: RefreshConnectedDiscordChannelsInput!): RefreshConnectedDiscordChannelsOutput!Arguments
input
required
error
Mutation
mutation RefreshConnectedDiscordChannels($input: RefreshConnectedDiscordChannelsInput!) {
refreshConnectedDiscordChannels(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"discordGuildId": "string"
}
}Response
{
"data": {
"refreshConnectedDiscordChannels": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

