Skip to content

PublishMessageRequest

Defined in: src/types/publish_message.ts:8

Request body for publishing a push notification message.

optional additional_info?: Record<string, unknown>

Defined in: src/types/publish_message.ts:22

Additional metadata for the notification.


optional email?: string

Defined in: src/types/publish_message.ts:14

The target user’s email address.


message_body: string

Defined in: src/types/publish_message.ts:12

The notification body content.


message_title: string

Defined in: src/types/publish_message.ts:10

The notification title.


optional publish_to_all_users?: boolean

Defined in: src/types/publish_message.ts:18

Whether to publish to all users.


optional type?: string

Defined in: src/types/publish_message.ts:20

The notification type.


optional user_id?: string

Defined in: src/types/publish_message.ts:16

The target user’s ID.