Skip to main content
MUTATION
teamMessageSend(teamChatId: String!, content: String, contentType: String, attachments: [TeamChatAttachmentInput], mentionedUserIds: [String], mentionedAll: Boolean, threadParentId: String, quote: TeamMessageQuoteInput): TeamMessage

Arguments

teamChatId
String!
required

Target team chat id.

content
String

Message text. Optional when sending attachments only.

contentType
String

Default: text.

Files already uploaded elsewhere; see TeamChatAttachmentInput.

mentionedUserIds
[String]

User ids to mention. Ignored for the sender and expanded automatically when mentionedAll is set.

mentionedAll
Boolean

When true, mentions every current member (rendered as @all in the UI).

threadParentId
String

_id of the parent message to reply to. Omit for a top-level message.

Quote another message; see TeamMessageQuoteInput.

_id
String!
teamChatId
String!
content
String
contentType
String!
userId
String!
attachments
mentionedUserIds
[String]
mentionedAll
Boolean
reactions
threadParentId
String
threadReplyCount
Int
threadLastReplyAt
Date
threadParticipantIds
[String]
readByUserIds
[String]
isEdited
Boolean!
isPinned
Boolean!
isDeleted
Boolean!
createdAt
Date!
updatedAt
Date!
user
mentionedUsers
threadParticipants
teamChat
threadParent
Mutation
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦