| title | pinnedChatMessageInfo resource type |
|---|---|
| description | Represents an individual pinned message in a chat entity. |
| author | sumanac |
| ms.localizationpriority | medium |
| ms.subservice | teams |
| doc_type | resourcePageType |
| ms.date | 07/22/2024 |
Namespace: microsoft.graph
Represents an individual pinned message in a chat.
Inherits from entity.
| Method | Return type | Description |
|---|---|---|
| List pinned messages | pinnedChatMessageInfo collection | Get a list of pinnedChatMessages in a chat. |
| Pin message | pinnedChatMessageInfo | Pin a chat message in the specified chat. |
| Unpin message | None | Unpin a message from a chat. |
| Property | Type | Description |
|---|---|---|
| id | String | The ID of the chatMessage. Read-only. |
| Relationship | Type | Description |
|---|---|---|
| message | chatMessage | Represents details about the chat message that is pinned. |
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.pinnedChatMessageInfo",
"id": "String (identifier)"
}