JsonNotification interface

表示 JSON 通知中樞。

Extends

屬性

contentType

推播通知的內容類型。

繼承的屬性

body

推播通知的本文。

headers

要包含推播通知的標頭。

屬性詳細資料

contentType

推播通知的內容類型。

contentType: "application/json;charset=utf-8"

屬性值

"application/json;charset=utf-8"

繼承的屬性詳細資料

body

推播通知的本文。

body: string

屬性值

string

繼承自NotificationCommon.body

headers

要包含推播通知的標頭。

headers?: Record<string, unknown>

屬性值

Record<string, unknown>

繼承自NotificationCommon.headers