Magidoc

Message
Object

Message type

This type is used to represent a message in a container (group, action, note, goal, post). So, basically, comment in note, comment in action, message in chat - all have the same type.

Fields

#

_id

ID !
Non-null

Message id

body

Non-null

Message body

workspace

Non-null

Workspace id

from

Non-null

User that send the message/comment

sender

Non-null

Sender id

containerId

Non-null

Id of the container

containerType

Non-null

Container type: action (message is the comment under action), group (group chat message, private chat message), etc

senderFirstName

Non-null

The first name of the sender

senderPicture

Non-null

The url of the sender profile picture

deleted

Non-null

Is message deleted

edited

Non-null

Is message edited

automated

Non-null

Is message automated (sent via automated workflows)

to

Recipient

actions

[ Action ]!
Non-null

Actions

attachedActions

[ ID !]!
Non-null

Attached actions

reactionsList

[ Reaction !]!
Non-null

Reactions list

reactions

Reactions

mentions

[ User !]!
Non-null

All users mentioned in the message (like @username)

modifiedAt

Modified at

createdBy

Created by

createdAt

Created at

modifiedBy

Modified by

threadId

Thread id

attachments

Message attachments

isNoteJsonComment

Is message a comment in a note

color

Color of the message

isPrivate

Is message private

Usages

#

References

#