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 app icon bytes 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 is a JSON representation of the resource.

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