Mutation
mutation DeleteDirectMessageReaction($input: DeleteDirectMessageReactionInput!) {
deleteDirectMessageReaction(input: $input) {
clientMutationId
errors
message {
actorType
artifact {
createdAt
description
html
kind
status
summary
}
assets {
aspectRatio
assetStyle
contentType
fileSize
id
imageUrl
}
conversation {
bookmarkedAt
id
lastChatAt
lastMessage {
__typename
}
messages {
__typename
}
participants {
__typename
}
}
createdAt
embeddedLink {
actionText
description
faviconUrl
id
imageUrl
isVideo
}
}
}
}Variables
{
"input": {
"emoji": "string",
"messageId": "id"
}
}Response
{
"data": {
"deleteDirectMessageReaction": {
"clientMutationId": "string",
"errors": [
"string"
],
"message": {
"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"
}
],
"conversation": {
"bookmarkedAt": "value",
"id": "id",
"lastChatAt": "value",
"lastMessage": {
"__typename": "PrivateMessage"
},
"messages": {
"__typename": "PrivateMessageConnection"
},
"participants": [
{
"__typename": "Member"
}
]
},
"createdAt": "value",
"embeddedLink": {
"actionText": "string",
"description": "string",
"faviconUrl": "string",
"id": "id",
"imageUrl": "string",
"isVideo": true
}
}
}
}
}Mutations
deleteDirectMessageReaction
Remove the viewer’s emoji reaction from a message in a direct message or thread
Required scope: write:chats
MUTATION
deleteDirectMessageReaction(input: DeleteDirectMessageReactionInput!): DeleteDirectMessageReactionPayloadArguments
input
required
Parameters for DeleteDirectMessageReaction
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
message
The message, with its updated reactions
Mutation
mutation DeleteDirectMessageReaction($input: DeleteDirectMessageReactionInput!) {
deleteDirectMessageReaction(input: $input) {
clientMutationId
errors
message {
actorType
artifact {
createdAt
description
html
kind
status
summary
}
assets {
aspectRatio
assetStyle
contentType
fileSize
id
imageUrl
}
conversation {
bookmarkedAt
id
lastChatAt
lastMessage {
__typename
}
messages {
__typename
}
participants {
__typename
}
}
createdAt
embeddedLink {
actionText
description
faviconUrl
id
imageUrl
isVideo
}
}
}
}Variables
{
"input": {
"emoji": "string",
"messageId": "id"
}
}Response
{
"data": {
"deleteDirectMessageReaction": {
"clientMutationId": "string",
"errors": [
"string"
],
"message": {
"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"
}
],
"conversation": {
"bookmarkedAt": "value",
"id": "id",
"lastChatAt": "value",
"lastMessage": {
"__typename": "PrivateMessage"
},
"messages": {
"__typename": "PrivateMessageConnection"
},
"participants": [
{
"__typename": "Member"
}
]
},
"createdAt": "value",
"embeddedLink": {
"actionText": "string",
"description": "string",
"faviconUrl": "string",
"id": "id",
"imageUrl": "string",
"isVideo": true
}
}
}
}
}