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

DocumentNotificationContent interface

发送文档通知的请求。

扩展

属性

caption

可选文本内容。

fileName

文件的可选名称。

kind

消息通知类型为图像。

mediaUri

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

继承属性

channelRegistrationId

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

to

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

属性详细信息

caption

可选文本内容。

caption?: string

属性值

string

fileName

文件的可选名称。

fileName?: string

属性值

string

kind

消息通知类型为图像。

kind: "document"

属性值

"document"

mediaUri

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

mediaUri: string

属性值

string

继承属性详细信息

channelRegistrationId

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

channelRegistrationId: string

属性值

string

继承自NotificationContentParent.channelRegistrationId

to

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

to: string[]

属性值

string[]

继承自NotificationContentParent.to