InboxMessage
Type: Object
A direct-message style inbox item used for user-to-user chats and system-to-user notices. Supports subscriptions for real-time updates, read/unread state, and threading by counterpart to streamline support, approvals, and production coordination.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| body | String! | The body of the message | ||
| createdAt | DateTime! | |||
| id | ID! | |||
| metadata | JsonString | Arbitrary metadata (e.g., deep links, CTA params) | ||
| notification | NotifierNotification | The notification associated with the message, if it originated from a notification | ||
| notificationId | ID | |||
| readAt | DateTime | The timestamp when the message was read | ||
| recipient | User | The user who received the message | ||
| recipientId | ID | |||
| sender | User | The user who sent the message, if it originated from another user | ||
| senderId | ID | |||
| subject | String! | The subject of the message | ||
| unread | Boolean | |||
| updatedAt | DateTime! |