type determines where messages are exchanged:
SLACK: posts a new Slack thread in a connected Slack channel. RequiresslackDetails.connectedSlackChannelId.EMAIL: sends a new email to one or more recipients. RequiresemailDetails.toAddresses.
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
markdownContent is the first message of the discussion. For Slack discussions you can also pass slackBlocks (a JSON-encoded Slack Block Kit array) to render rich content in Slack; markdownContent remains the fallback rendered in Plain.
Mutation
Variables

