Pular para o conteúdo principal

notification

idinteger
notification_typestring

What happened — an assignment, a mention, a new message, and so on

push_message_titlestring
push_message_bodystring
primary_actor_typestring

The record the notification is about, usually a Conversation

primary_actor_idinteger
primary_actorobject

The record itself. A notification whose actor was deleted is skipped by the listing rather than returned with a null here.

secondary_actorobject

Who caused it. Null when the system acted on its own.

userobject

Who the notification is for

read_atstring<date-time>

Null while unread

snoozed_untilstring<date-time>
trashed_atstring<date-time>

Null unless it is in the trash

created_atinteger
last_activity_atinteger

Also reset when the notification is trashed, so the 30-day purge counts from then rather than from when it first arrived.

metaobject
notification
{
"id": 0,
"notification_type": "string",
"push_message_title": "string",
"push_message_body": "string",
"primary_actor_type": "string",
"primary_actor_id": 0,
"primary_actor": {},
"secondary_actor": {},
"user": {},
"read_at": "2024-07-29T15:51:28.071Z",
"snoozed_until": "2024-07-29T15:51:28.071Z",
"trashed_at": "2024-07-29T15:51:28.071Z",
"created_at": 0,
"last_activity_at": 0,
"meta": {}
}