Mutation
mutation DismissGeneratedReply($input: DismissGeneratedReplyInput!) {
dismissGeneratedReply(input: $input) {
generatedReply {
id
markdown
timelineEntryId
text
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"generatedReplyId": "id"
}
}Response
{
"data": {
"dismissGeneratedReply": {
"generatedReply": {
"id": "id",
"markdown": "string",
"timelineEntryId": "id",
"text": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
dismissGeneratedReply
Dismiss a suggested reply so teammates no longer see it. Use this when a suggestion is wrong, out of date, or was already sent by hand. Dismissing an already dismissed reply has no effect. A new suggested reply can still be added for the same message. Requires the generatedReply:edit permission.
MUTATION
dismissGeneratedReply(input: DismissGeneratedReplyInput!): DismissGeneratedReplyOutput!Arguments
input
required
Returns
generatedReply
error
Mutation
mutation DismissGeneratedReply($input: DismissGeneratedReplyInput!) {
dismissGeneratedReply(input: $input) {
generatedReply {
id
markdown
timelineEntryId
text
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"generatedReplyId": "id"
}
}Response
{
"data": {
"dismissGeneratedReply": {
"generatedReply": {
"id": "id",
"markdown": "string",
"timelineEntryId": "id",
"text": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

