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