presenceStatusMessage 资源类型

命名空间:microsoft.graph

表示与 Microsoft Teams 中的用户 状态相关的状态 消息。

属性

属性 类型 说明
expiryDateTime dateTimeTimeZone 状态消息过期的时间。
如果未提供,则状态消息不会过期。

expiryDateTime.dateTime 不应包含时区。

当你请求其他用户的存在时,expiryDateTime 不可用。
消息 itemBody 状态消息项。

目前唯一受支持的格式是 message.contentType = 'text'
publishedDateTime DateTimeOffset 发布状态消息的时间。
此为只读属性。

当你请求其他用户的存在时,publishedDateTime 不可用。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "expiryDateTime": {"@odata.type": "#microsoft.graph.dateTimeTimeZone"},
  "message": {"@odata.type": "#microsoft.graph.itemBody"},
  "publishedDateTime": "String"
}