MessageRef
object type
One inbox message.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | |
toKind | MessageSubjectKind MessageSubjectKind! | The inbox — your user id (user) or a team id (team). |
toId | ID ID! | |
fromKind | MessageFromKind MessageFromKind! | One of the values of [MessageFromKind](/types/MessageFromKind/). |
fromUserId | ID | The sender (user) or the attributed actor (system — null for a pure platform notice). |
body | String String! | |
targetType | String | The optional 'about this record' ref — both present or both null. |
targetId | ID | |
createdAt | String String! | |
readAt | String | User rows: null = unread; team rows: always null (no per-member read state v1). |