共用方式為


MediaNotificationContent interface

警告

此 API 現已淘汰。

A request to send an image notification.

Extends

屬性

content

選擇性文字內容。

kind

訊息通知類型為 image。

mediaUri

檔案的媒體URL。 如果類型是其中一種支持的媒體類型,則為必要專案,例如 image

繼承的屬性

channelRegistrationId

商務標識碼的通道註冊標識碼。

to

收件者的原生外部平臺用戶標識碼。

屬性詳細資料

content

選擇性文字內容。

content?: string

屬性值

string

kind

訊息通知類型為 image。

kind: "image_v0"

屬性值

"image_v0"

mediaUri

檔案的媒體URL。 如果類型是其中一種支持的媒體類型,則為必要專案,例如 image

mediaUri: string

屬性值

string

繼承的屬性詳細資料

channelRegistrationId

商務標識碼的通道註冊標識碼。

channelRegistrationId: string

屬性值

string

繼承自NotificationContentParent.channelRegistrationId

to

收件者的原生外部平臺用戶標識碼。

to: string[]

屬性值

string[]

繼承自NotificationContentParent.to