Mutation
mutation DeleteQueuedAgentSessionMessage($input: DeleteQueuedAgentSessionMessageInput!) {
deleteQueuedAgentSessionMessage(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"queuedAgentSessionMessageId": "id"
}
}Response
{
"data": {
"deleteQueuedAgentSessionMessage": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteQueuedAgentSessionMessage
Removes a user message that is waiting in a Sidekick AGENT_SESSION queue. Rejects with
queued_agent_session_message_already_dispatched if the agent has already picked the
message up — the frontend should reload to reflect the new state.
MUTATION
deleteQueuedAgentSessionMessage(input: DeleteQueuedAgentSessionMessageInput!): DeleteQueuedAgentSessionMessageOutput!Arguments
input
required
error
Mutation
mutation DeleteQueuedAgentSessionMessage($input: DeleteQueuedAgentSessionMessageInput!) {
deleteQueuedAgentSessionMessage(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"queuedAgentSessionMessageId": "id"
}
}Response
{
"data": {
"deleteQueuedAgentSessionMessage": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

