InterfaceSDK v0.3.0

PushContent

Portable, visible notification. Variables used for rendering are not sent as custom data.

import type { PushContent } from '@usepapier/client/base';

Declaration #

types.tsTypeScript
export interface PushContent {
    title: string;
    body: string;
    image?: string;
    url?: string;
    data?: Record<string, string>;
}

Source: packages/client/src/push/types.ts:18

Members 5

title: string;

packages/client/src/push/types.ts:19

body: string;

packages/client/src/push/types.ts:20

image

Optional
image?: string;

packages/client/src/push/types.ts:21

url

Optional
url?: string;

packages/client/src/push/types.ts:22

data

Optional
data?: Record<string, string>;

packages/client/src/push/types.ts:23

Generated from TypeScript source.b1e9ee529902