teamworkHostedContent resource type

Namespace: microsoft.graph

Represents rich content like images and code snippets in Microsoft Teams. For rich content in channel and chat messages, see chatMessageHostedContent.

Properties

Property Type Description
contentBytes Binary Write only. Bytes for the hosted content (such as images).
contentType String Write only. Content type. sicj 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"
}