presenceStatusMessage resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a presence status message related to the presence of a user in Microsoft Teams.

Properties

Property Type Description
expiryDateTime microsoft.graph.dateTimeTimeZone Time in which the status message expires.
If not provided, the status message does not expire.

expiryDateTime.dateTime should not include time zone.

expiryDateTime is not available when requesting presence of another user.
message microsoft.graph.itemBody Status message item.

The only supported format currently is message.contentType = 'text'.
publishedDateTime DateTimeOffset Time in which the status message was published.
Read-only.

publishedDateTime is not available when requesting presence of another user.

JSON representation

The following is a JSON representation of the resource.

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