teamMessageEdit
Edit the content and/or mentions of an existing message. Sets isEdited: true.
If this is the chat’s most recent message, the sidebar preview is refreshed. Only newly added mentions trigger new notifications.
Auth · x-app-token · authenticated
Related: teamMessageSend, teamMessageDelete
MUTATION
teamMessageEdit(_id: String!, content: String!, mentionedUserIds: [String], mentionedAll: Boolean): TeamMessageArguments
_id
String!
required
Message id to edit.
content
String!
required
New message content.
mentionedUserIds
[String]
Replacement mention list.
mentionedAll
Boolean
Replace mentions with all current chat members.
Returns
_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!
quote
createdAt
Date!
updatedAt
Date!
user
mentionedUsers
[User]
threadParticipants
[User]
teamChat
threadParent
Mutation
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦