teamMessageSend
Send a message to a team chat — optionally as a thread reply (threadParentId)
or quoting another message (quote).
In channel chats, only admins or the owner may post. mentionedAll: true expands to every current chat member for notification purposes.
Errors:
Chat not foundYou are not a member of this chatOnly admins can send messages in this channel
Auth · x-app-token · required permission teamChatMessageAdd
Related: teamMessageEdit, teamMessages, TeamMessage
teamMessageSend(teamChatId: String!, content: String, contentType: String, attachments: [TeamChatAttachmentInput], mentionedUserIds: [String], mentionedAll: Boolean, threadParentId: String, quote: TeamMessageQuoteInput): TeamMessageArguments
Target team chat id.
Message text. Optional when sending attachments only.
Default: text.
Files already uploaded elsewhere; see TeamChatAttachmentInput.
User ids to mention. Ignored for the sender and expanded automatically when mentionedAll is set.
When true, mentions every current member (rendered as @all in the UI).
_id of the parent message to reply to. Omit for a top-level message.
Quote another message; see TeamMessageQuoteInput.