你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MediaNotificationContent interface

警告

现已弃用此 API。

A request to send an image notification.

扩展

属性

content

可选文本内容。

kind

消息通知类型为图像。

mediaUri

文件的媒体 URL。 如果类型是受支持的媒体类型之一,则为必需类型,例如图像

继承属性

channelRegistrationId

业务标识符的通道注册 ID。

to

收件人的本机外部平台用户标识符。

属性详细信息

content

可选文本内容。

content?: string

属性值

string

kind

消息通知类型为图像。

kind: "image_v0"

属性值

"image_v0"

mediaUri

文件的媒体 URL。 如果类型是受支持的媒体类型之一,则为必需类型,例如图像

mediaUri: string

属性值

string

继承属性详细信息

channelRegistrationId

业务标识符的通道注册 ID。

channelRegistrationId: string

属性值

string

继承自NotificationContentParent.channelRegistrationId

to

收件人的本机外部平台用户标识符。

to: string[]

属性值

string[]

继承自NotificationContentParent.to