title | description | author | ms.localizationpriority | ms.subservice | doc_type |
---|---|---|---|---|---|
teamworkHostedContent resource type |
Represents rich content hosted by Microsoft Teams |
RamjotSingh |
medium |
teams |
resourcePageType |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Represents rich content like images and code snippets in Microsoft Teams. For rich content in channel and chat messages, see chatMessageHostedContent.
Method | Return Type | Description |
---|---|---|
Get icon | teamworkHostedContent | Get the bytes of the hosted content backing a Teams app icon. |
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. |
None.
The following is a JSON representation of the resource.
{
"id": "String (identifier)",
"contentBytes": "Binary",
"contentType": "String"
}