Interface: IPushPayload ​
Defined in: types/push.ts:99
What the backend encrypts for one device. Only that device can read it: the phone builds the visible notification from it, so the relay, Google and Apple never see who it is for, who sent it or what it says.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
body | string | - | types/push.ts:111 |
channelId? | number | Absent only on a test push. | types/push.ts:106 |
conversationTitle? | string | Group or server-channel label; absent for one-to-one chats and hidden previews. | types/push.ts:117 |
instanceUrl | string | The instance's origin, checked against the session the phone is signed in to. | types/push.ts:103 |
messageId? | number | - | types/push.ts:109 |
preview? | "none" | "full" | "sender" | Records the preview used so native rollups can discard history when privacy changes. | types/push.ts:113 |
sender? | IPushSender | Only person-authored messages/mentions whose preview permits identifying the sender. | types/push.ts:115 |
sentAt | number | When the backend built it (epoch ms), so a call that arrives late shows as missed rather than ringing. | types/push.ts:119 |
serverId? | number | null | null or absent for a direct message or group chat. | types/push.ts:108 |
title | string | - | types/push.ts:110 |
type | PushPayloadType | - | types/push.ts:101 |
userId | number | - | types/push.ts:104 |
v | 1 | - | types/push.ts:100 |