Mutation
mutation DeleteChatReport($input: DeleteChatReportInput!) {
deleteChatReport(input: $input) {
chatMessage {
actorType
artifact {
createdAt
description
html
kind
status
summary
}
assets {
aspectRatio
assetStyle
contentType
fileSize
id
imageUrl
}
chatCard {
id
kind
parameters
textHtml
title
}
createdAt
lastReplyAt
}
clientMutationId
errors
}
}Variables
{
"input": {
"chatId": "id"
}
}Response
{
"data": {
"deleteChatReport": {
"chatMessage": {
"actorType": "COHOST",
"artifact": {
"createdAt": "value",
"description": "string",
"html": "string",
"kind": "string",
"status": "string",
"summary": "string"
},
"assets": [
{
"aspectRatio": 1.5,
"assetStyle": "string",
"contentType": "string",
"fileSize": "string",
"id": "id",
"imageUrl": "string"
}
],
"chatCard": {
"id": "id",
"kind": "string",
"parameters": "value",
"textHtml": "string",
"title": "string"
},
"createdAt": "value",
"lastReplyAt": "value"
},
"clientMutationId": "string",
"errors": [
"string"
]
}
}
}Mutations
deleteChatReport
Remove the current member’s flag on a chat message — undoes a hide or report they previously created.
MUTATION
deleteChatReport(input: DeleteChatReportInput!): DeleteChatReportPayloadArguments
input
DeleteChatReportInput!
required
Parameters for DeleteChatReport
Returns
chatMessage
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
Mutation
mutation DeleteChatReport($input: DeleteChatReportInput!) {
deleteChatReport(input: $input) {
chatMessage {
actorType
artifact {
createdAt
description
html
kind
status
summary
}
assets {
aspectRatio
assetStyle
contentType
fileSize
id
imageUrl
}
chatCard {
id
kind
parameters
textHtml
title
}
createdAt
lastReplyAt
}
clientMutationId
errors
}
}Variables
{
"input": {
"chatId": "id"
}
}Response
{
"data": {
"deleteChatReport": {
"chatMessage": {
"actorType": "COHOST",
"artifact": {
"createdAt": "value",
"description": "string",
"html": "string",
"kind": "string",
"status": "string",
"summary": "string"
},
"assets": [
{
"aspectRatio": 1.5,
"assetStyle": "string",
"contentType": "string",
"fileSize": "string",
"id": "id",
"imageUrl": "string"
}
],
"chatCard": {
"id": "id",
"kind": "string",
"parameters": "value",
"textHtml": "string",
"title": "string"
},
"createdAt": "value",
"lastReplyAt": "value"
},
"clientMutationId": "string",
"errors": [
"string"
]
}
}
}⌘I