Using TypeScript? Check out our GraphQL SDK for a fully typed client.
Adds a new message to an existing discussion. The message is posted in the original channel (Slack thread reply or email reply) and recorded against the discussion in Plain.
Mutation
mutation sendThreadDiscussionMessage($input: SendThreadDiscussionMessageInput!) { sendThreadDiscussionMessage(input: $input) { threadDiscussionMessage { id threadDiscussionId } error { message type code fields { field message type } } }}
Variables
{ "input": { "threadDiscussionId": "td_01HXXXXXXXXXXXXXXXXXXXXXXX", "markdownContent": "Following up on this — any update?" }}