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 dateTimeTimeZone Time in which the status message expires.
If not provided, the status message doesn't expire.

expiryDateTime.dateTime shouldn't include time zone.

expiryDateTime isn't available when you request the presence of another user.
message 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 isn't available when you request the presence of another user.

JSON representation

The following JSON representation shows the resource type.

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