teamworkHostedContent 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 rich content like images and code snippets in Microsoft Teams. For rich content in channel and chat messages, see chatMessageHostedContent.

Methods

Method Return Type Description
Get icon teamworkHostedContent Get the bytes of the hosted content backing a Teams app icon.

Properties

Property Type Description
contentBytes Binary Write only. Bytes for the hosted content (such as images).
contentType String Write only. Content type, such as image/png, image/jpg.
id String ID of the hosted content.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "id": "String (identifier)",
  "contentBytes": "Binary",
  "contentType": "String"
}