openapi: 3.1.0 info: title: Microsoft Graph Chats description: Needs a description. paths: /chats: description: Provides operations to manage the collection of chat entities. get: tags: - Chats.chat summary: Microsoft Graph List chats description: >- Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-1.0 operationId: chats.chat.ListChat parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Chats.chat summary: Microsoft Graph Create chat description: Create a new chat object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-post?view=graph-rest-1.0 operationId: chats.chat.CreateChat requestBody: description: New entity content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Created entity content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /chats/{chat-id}: description: Provides operations to manage the collection of chat entities. get: tags: - Chats.chat summary: Microsoft Graph Get chat description: >- Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-1.0 operationId: chats.chat.GetChat parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved entity content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Chats.chat summary: Microsoft Graph Update chat description: Update the properties of a chat object. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-patch?view=graph-rest-1.0 operationId: chats.chat.UpdateChat requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Chats.chat summary: Microsoft Graph Delete chat description: >- Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-delete?view=graph-rest-1.0 operationId: chats.chat.DeleteChat parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/installedApps: description: >- Provides operations to manage the installedApps property of the microsoft.graph.chat entity. get: tags: - chats.teamsAppInstallation summary: Microsoft Graph List apps in chat description: List all app installations within a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-list-installedapps?view=graph-rest-1.0 operationId: chats.ListInstalledApps parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.teamsAppInstallationCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.teamsAppInstallation summary: Microsoft Graph Add app to chat description: Install a teamsApp to the specified chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-post-installedapps?view=graph-rest-1.0 operationId: chats.CreateInstalledApps requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/installedApps/{teamsAppInstallation-id}: description: >- Provides operations to manage the installedApps property of the microsoft.graph.chat entity. get: tags: - chats.teamsAppInstallation summary: Microsoft Graph Get installed app in chat description: Get an app installed in a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-get-installedapps?view=graph-rest-1.0 operationId: chats.GetInstalledApps parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.teamsAppInstallation summary: Microsoft Graph Update the navigation property installedApps in chats operationId: chats.UpdateInstalledApps requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.teamsAppInstallation summary: Microsoft Graph Uninstall app in a chat description: Uninstall an app installed within a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-delete-installedapps?view=graph-rest-1.0 operationId: chats.DeleteInstalledApps parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation /chats/{chat-id}/installedApps/{teamsAppInstallation-id}/upgrade: description: Provides operations to call the upgrade method. post: tags: - chats.teamsAppInstallation summary: Microsoft Graph Invoke action upgrade description: Upgrade an app installation within a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 operationId: chats.chat.installedApps.teamsAppInstallation.upgrade requestBody: description: Action parameters content: application/json: schema: type: object properties: consentedPermissionSet: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamsAppPermissionSet - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation /chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsApp: description: >- Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. get: tags: - chats.teamsAppInstallation summary: Microsoft Graph Get teamsApp from chats description: The app that is installed. operationId: chats.installedApps.GetTeamsApp parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation /chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition: description: >- Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. get: tags: - chats.teamsAppInstallation summary: Microsoft Graph Get teamsAppDefinition from chats description: The details of this version of the app. operationId: chats.installedApps.GetTeamsAppDefinition parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation /chats/{chat-id}/installedApps/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.teamsAppInstallation summary: Microsoft Graph Get the number of the resource operationId: chats.installedApps.GetCount-3987 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/lastMessagePreview: description: >- Provides operations to manage the lastMessagePreview property of the microsoft.graph.chat entity. get: tags: - chats.chatMessageInfo summary: Microsoft Graph Get lastMessagePreview from chats description: >- Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. operationId: chats.GetLastMessagePreview parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessageInfo summary: Microsoft Graph Update the navigation property lastMessagePreview in chats operationId: chats.UpdateLastMessagePreview requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessageInfo summary: Microsoft Graph Delete navigation property lastMessagePreview for chats operationId: chats.DeleteLastMessagePreview parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/members: description: >- Provides operations to manage the members property of the microsoft.graph.chat entity. get: tags: - chats.conversationMember summary: Microsoft Graph List conversationMembers description: List all conversation members in a chat or channel. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/conversationmember-list?view=graph-rest-1.0 operationId: chats.ListMembers parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.conversationMemberCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.conversationMember summary: Microsoft Graph Add member to a chat description: Add a conversationMember to a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-post-members?view=graph-rest-1.0 operationId: chats.CreateMembers requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/members/{conversationMember-id}: description: >- Provides operations to manage the members property of the microsoft.graph.chat entity. get: tags: - chats.conversationMember summary: Microsoft Graph Get conversationMember in a chat description: Retrieve a conversationMember from a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 operationId: chats.GetMembers parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.conversationMember summary: Microsoft Graph Update the navigation property members in chats operationId: chats.UpdateMembers requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.conversationMember summary: Microsoft Graph Remove member from chat description: Remove a conversationMember from a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-delete-members?view=graph-rest-1.0 operationId: chats.DeleteMembers parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true schema: type: string x-ms-docs-key-type: conversationMember /chats/{chat-id}/members/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.conversationMember summary: Microsoft Graph Get the number of the resource operationId: chats.members.GetCount-9627 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/members/add: description: Provides operations to call the add method. post: tags: - chats.conversationMember summary: Microsoft Graph Invoke action add description: >- Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: chats.chat.members.add requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: >- #/components/schemas/microsoft.graph.actionResultPart 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/members/remove: description: Provides operations to call the remove method. post: tags: - chats.conversationMember summary: Microsoft Graph Invoke action remove description: >- Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: chats.chat.members.remove requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: >- #/components/schemas/microsoft.graph.actionResultPart 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/messages: description: >- Provides operations to manage the messages property of the microsoft.graph.chat entity. get: tags: - chats.chatMessage summary: Microsoft Graph List messages in a chat description: >- Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-list-messages?view=graph-rest-1.0 operationId: chats.ListMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatMessageCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chatMessage summary: Microsoft Graph Send message in a chat description: >- Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 operationId: chats.CreateMessages requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/messages/{chatMessage-id}: description: >- Provides operations to manage the messages property of the microsoft.graph.chat entity. get: tags: - chats.chatMessage summary: Microsoft Graph Get chatMessage in a channel or chat description: Retrieve a single message or a message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 operationId: chats.GetMessages parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessage summary: Microsoft Graph Update the navigation property messages in chats operationId: chats.UpdateMessages requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessage summary: Microsoft Graph Delete navigation property messages for chats operationId: chats.DeleteMessages parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /chats/{chat-id}/messages/{chatMessage-id}/hostedContents: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - chats.chatMessage summary: Microsoft Graph List hostedContents description: >- Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 operationId: chats.messages.ListHostedContents parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.chatMessageHostedContentCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chatMessage summary: Microsoft Graph Create new navigation property to hostedContents for chats operationId: chats.messages.CreateHostedContents requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - chats.chatMessage summary: Microsoft Graph Get chatMessageHostedContent description: >- Retrieve the properties and relationships of chatMessageHostedContent object. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 operationId: chats.messages.GetHostedContents parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessage summary: Microsoft Graph Update the navigation property hostedContents in chats operationId: chats.messages.UpdateHostedContents requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessage summary: Microsoft Graph Delete navigation property hostedContents for chats operationId: chats.messages.DeleteHostedContents parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent x-ms-docs-grouped-path: - >- /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value: description: Provides operations to manage the media for the chat entity. get: tags: - chats.chatMessage summary: Microsoft Graph List hostedContents description: >- Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 operationId: chats.messages.GetHostedContentsContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' put: tags: - chats.chatMessage summary: Microsoft Graph Update media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chats.messages.UpdateHostedContentsContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' delete: tags: - chats.chatMessage summary: Microsoft Graph Delete media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chats.messages.DeleteHostedContentsContent parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.chatMessage summary: Microsoft Graph Get the number of the resource operationId: chats.messages.hostedContents.GetCount-a167 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /chats/{chat-id}/messages/{chatMessage-id}/setReaction: description: Provides operations to call the setReaction method. post: tags: - chats.chatMessage summary: Microsoft Graph Invoke action setReaction operationId: chats.chat.messages.chatMessage.setReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction /chats/{chat-id}/messages/{chatMessage-id}/softDelete: description: Provides operations to call the softDelete method. post: tags: - chats.chatMessage summary: Microsoft Graph Invoke action softDelete description: >- Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: chats.chat.messages.chatMessage.softDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete /chats/{chat-id}/messages/{chatMessage-id}/undoSoftDelete: description: Provides operations to call the undoSoftDelete method. post: tags: - chats.chatMessage summary: Microsoft Graph Invoke action undoSoftDelete description: >- Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: chats.chat.messages.chatMessage.undoSoftDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete /chats/{chat-id}/messages/{chatMessage-id}/unsetReaction: description: Provides operations to call the unsetReaction method. post: tags: - chats.chatMessage summary: Microsoft Graph Invoke action unsetReaction operationId: chats.chat.messages.chatMessage.unsetReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction /chats/{chat-id}/messages/{chatMessage-id}/replies: description: >- Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. get: tags: - chats.chatMessage summary: Microsoft Graph Get replies from chats description: Replies for a specified message. Supports $expand for channel messages. operationId: chats.messages.ListReplies parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatMessageCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chatMessage summary: Microsoft Graph Create new navigation property to replies for chats operationId: chats.messages.CreateReplies requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}: description: >- Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. get: tags: - chats.chatMessage summary: Microsoft Graph Get replies from chats description: Replies for a specified message. Supports $expand for channel messages. operationId: chats.messages.GetReplies parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessage summary: Microsoft Graph Update the navigation property replies in chats operationId: chats.messages.UpdateReplies requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessage summary: Microsoft Graph Delete navigation property replies for chats operationId: chats.messages.DeleteReplies parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - chats.chatMessage summary: Microsoft Graph Get hostedContents from chats description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: chats.messages.replies.ListHostedContents parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.chatMessageHostedContentCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.chatMessage summary: Microsoft Graph Create new navigation property to hostedContents for chats operationId: chats.messages.replies.CreateHostedContents requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /chats/{chat-id}/messages/{chatMessage-id}/hostedContents /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - chats.chatMessage summary: Microsoft Graph Get hostedContents from chats description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: chats.messages.replies.GetHostedContents parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.chatMessage summary: Microsoft Graph Update the navigation property hostedContents in chats operationId: chats.messages.replies.UpdateHostedContents requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.chatMessage summary: Microsoft Graph Delete navigation property hostedContents for chats operationId: chats.messages.replies.DeleteHostedContents parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent x-ms-docs-grouped-path: - >- /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value: description: Provides operations to manage the media for the chat entity. get: tags: - chats.chatMessage summary: Microsoft Graph Get media content for the navigation property hostedContents from chats description: The unique identifier for an entity. Read-only. operationId: chats.messages.replies.GetHostedContentsContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' put: tags: - chats.chatMessage summary: Microsoft Graph Update media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chats.messages.replies.UpdateHostedContentsContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' delete: tags: - chats.chatMessage summary: Microsoft Graph Delete media content for the navigation property hostedContents in chats description: The unique identifier for an entity. Read-only. operationId: chats.messages.replies.DeleteHostedContentsContent parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.chatMessage summary: Microsoft Graph Get the number of the resource operationId: chats.messages.replies.hostedContents.GetCount-ccd3 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction: description: Provides operations to call the setReaction method. post: tags: - chats.chatMessage summary: Microsoft Graph Invoke action setReaction operationId: chats.chat.messages.chatMessage.replies.chatMessage.setReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /chats/{chat-id}/messages/{chatMessage-id}/setReaction /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete: description: Provides operations to call the softDelete method. post: tags: - chats.chatMessage summary: Microsoft Graph Invoke action softDelete description: >- Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: chats.chat.messages.chatMessage.replies.chatMessage.softDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /chats/{chat-id}/messages/{chatMessage-id}/softDelete /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete: description: Provides operations to call the undoSoftDelete method. post: tags: - chats.chatMessage summary: Microsoft Graph Invoke action undoSoftDelete description: >- Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: chats.chat.messages.chatMessage.replies.chatMessage.undoSoftDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /chats/{chat-id}/messages/{chatMessage-id}/undoSoftDelete /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction: description: Provides operations to call the unsetReaction method. post: tags: - chats.chatMessage summary: Microsoft Graph Invoke action unsetReaction operationId: chats.chat.messages.chatMessage.replies.chatMessage.unsetReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /chats/{chat-id}/messages/{chatMessage-id}/unsetReaction /chats/{chat-id}/messages/{chatMessage-id}/replies/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.chatMessage summary: Microsoft Graph Get the number of the resource operationId: chats.messages.replies.GetCount-10ad parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /chats/{chat-id}/messages/{chatMessage-id}/replies/delta(): description: Provides operations to call the delta method. get: tags: - chats.chatMessage summary: Microsoft Graph Invoke function delta description: >- Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: chats.chat.messages.chatMessage.replies.delta parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseDeltaFunctionResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /chats/{chat-id}/messages/delta() /chats/{chat-id}/messages/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.chatMessage summary: Microsoft Graph Get the number of the resource operationId: chats.messages.GetCount-3dde parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/messages/delta(): description: Provides operations to call the delta method. get: tags: - chats.chatMessage summary: Microsoft Graph Invoke function delta description: >- Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: chats.chat.messages.delta parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseDeltaFunctionResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /chats/{chat-id}/messages/{chatMessage-id}/replies/delta() /chats/{chat-id}/hideForUser: description: Provides operations to call the hideForUser method. post: tags: - chats.chat.Actions summary: Microsoft Graph Invoke action hideForUser description: Hide a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-1.0 operationId: chats.chat.hideForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/markChatReadForUser: description: Provides operations to call the markChatReadForUser method. post: tags: - chats.chat.Actions summary: Microsoft Graph Invoke action markChatReadForUser description: Mark a chat as read for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-1.0 operationId: chats.chat.markChatReadForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/markChatUnreadForUser: description: Provides operations to call the markChatUnreadForUser method. post: tags: - chats.chat.Actions summary: Microsoft Graph Invoke action markChatUnreadForUser description: Mark a chat as unread for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-1.0 operationId: chats.chat.markChatUnreadForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true lastMessageReadDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string format: date-time nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/removeAllAccessForUser: description: Provides operations to call the removeAllAccessForUser method. post: tags: - chats.chat.Actions summary: Microsoft Graph Invoke action removeAllAccessForUser description: Remove access to a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 operationId: chats.chat.removeAllAccessForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/sendActivityNotification: description: Provides operations to call the sendActivityNotification method. post: tags: - chats.chat.Actions summary: Microsoft Graph Invoke action sendActivityNotification description: >- Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-1.0 operationId: chats.chat.sendActivityNotification requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkActivityTopic - type: object nullable: true activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: anyOf: - $ref: '#/components/schemas/microsoft.graph.itemBody' - type: object nullable: true teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipient: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkNotificationRecipient - type: object nullable: true iconId: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/unhideForUser: description: Provides operations to call the unhideForUser method. post: tags: - chats.chat.Actions summary: Microsoft Graph Invoke action unhideForUser description: Unhide a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-1.0 operationId: chats.chat.unhideForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/permissionGrants: description: >- Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. get: tags: - chats.resourceSpecificPermissionGrant summary: Microsoft Graph List permissionGrants of a chat description: >- List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding resource-specific access that each app has. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-list-permissiongrants?view=graph-rest-1.0 operationId: chats.ListPermissionGrants parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.resourceSpecificPermissionGrantCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.resourceSpecificPermissionGrant summary: Microsoft Graph Create new navigation property to permissionGrants for chats operationId: chats.CreatePermissionGrants requestBody: description: New navigation property content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/permissionGrants/{resourceSpecificPermissionGrant-id}: description: >- Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. get: tags: - chats.resourceSpecificPermissionGrant summary: Microsoft Graph Get permissionGrants from chats description: A collection of permissions granted to apps for the chat. operationId: chats.GetPermissionGrants parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.resourceSpecificPermissionGrant summary: Microsoft Graph Update the navigation property permissionGrants in chats operationId: chats.UpdatePermissionGrants requestBody: description: New navigation property values content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant required: true responses: 2XX: description: Success content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.resourceSpecificPermissionGrant summary: Microsoft Graph Delete navigation property permissionGrants for chats operationId: chats.DeletePermissionGrants parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant /chats/{chat-id}/permissionGrants/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.resourceSpecificPermissionGrant summary: Microsoft Graph Get the number of the resource operationId: chats.permissionGrants.GetCount-7597 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/pinnedMessages: description: >- Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. get: tags: - chats.pinnedChatMessageInfo summary: Microsoft Graph List pinnedChatMessages in a chat description: Get a list of pinnedChatMessages in a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-list-pinnedmessages?view=graph-rest-1.0 operationId: chats.ListPinnedMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.pinnedChatMessageInfoCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.pinnedChatMessageInfo summary: Microsoft Graph Pin a message in a chat description: >- Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-post-pinnedmessages?view=graph-rest-1.0 operationId: chats.CreatePinnedMessages requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}: description: >- Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. get: tags: - chats.pinnedChatMessageInfo summary: Microsoft Graph Get pinnedMessages from chats description: A collection of all the pinned messages in the chat. Nullable. operationId: chats.GetPinnedMessages parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.pinnedChatMessageInfo summary: Microsoft Graph Update the navigation property pinnedMessages in chats operationId: chats.UpdatePinnedMessages requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.pinnedChatMessageInfo summary: Microsoft Graph Unpin a message from a chat description: Unpin a message from a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-delete-pinnedmessages?view=graph-rest-1.0 operationId: chats.DeletePinnedMessages parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo /chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}/message: description: >- Provides operations to manage the message property of the microsoft.graph.pinnedChatMessageInfo entity. get: tags: - chats.pinnedChatMessageInfo summary: Microsoft Graph Get message from chats description: Represents details about the chat message that is pinned. operationId: chats.pinnedMessages.GetMessage parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo /chats/{chat-id}/pinnedMessages/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.pinnedChatMessageInfo summary: Microsoft Graph Get the number of the resource operationId: chats.pinnedMessages.GetCount-ad15 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/tabs: description: >- Provides operations to manage the tabs property of the microsoft.graph.chat entity. get: tags: - chats.teamsTab summary: Microsoft Graph List tabs in chat description: Retrieve the list of tabs in the specified chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-list-tabs?view=graph-rest-1.0 operationId: chats.ListTabs parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.teamsTabCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - chats.teamsTab summary: Microsoft Graph Add tab to chat description: "Add (pin) a tab to the specified chat. \r\nThe corresponding app must already be installed in the chat." externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-post-tabs?view=graph-rest-1.0 operationId: chats.CreateTabs requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/{chat-id}/tabs/{teamsTab-id}: description: >- Provides operations to manage the tabs property of the microsoft.graph.chat entity. get: tags: - chats.teamsTab summary: Microsoft Graph Get tab in chat description: >- Retrieve the properties and relationships of the specified tab in a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-get-tabs?view=graph-rest-1.0 operationId: chats.GetTabs parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - chats.teamsTab summary: Microsoft Graph Update tab in chat description: "Update the properties of the specified tab in a chat. \r\nThis can be used to configure the content of the tab." externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-patch-tabs?view=graph-rest-1.0 operationId: chats.UpdateTabs requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - chats.teamsTab summary: Microsoft Graph Delete tab from chat description: 'Remove (unpin) a tab from the specified chat. ' externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-delete-tabs?view=graph-rest-1.0 operationId: chats.DeleteTabs parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true schema: type: string x-ms-docs-key-type: teamsTab /chats/{chat-id}/tabs/{teamsTab-id}/teamsApp: description: >- Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. get: tags: - chats.teamsTab summary: Microsoft Graph Get teamsApp from chats description: >- The application that is linked to the tab. This can't be changed after tab creation. operationId: chats.tabs.GetTeamsApp parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true schema: type: string x-ms-docs-key-type: teamsTab /chats/{chat-id}/tabs/$count: description: Provides operations to count the resources in the collection. get: tags: - chats.teamsTab summary: Microsoft Graph Get the number of the resource operationId: chats.tabs.GetCount-b645 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /chats/$count: description: Provides operations to count the resources in the collection. get: tags: - Chats.chat summary: Microsoft Graph Get the number of the resource operationId: chats.GetCount-61c7 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' /chats/getAllMessages(): description: Provides operations to call the getAllMessages method. get: tags: - chats.chat.Functions summary: Microsoft Graph Invoke function getAllMessages description: >- Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chats-getallmessages?view=graph-rest-1.0 operationId: chats.getAllMessages parameters: - name: model in: query description: The payment model for the API schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore /chats/getAllRetainedMessages(): description: Provides operations to call the getAllRetainedMessages method. get: tags: - chats.chat.Functions summary: Microsoft Graph Invoke function getAllRetainedMessages description: >- Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-1.0 operationId: chats.getAllRetainedMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore /me/chats: description: >- Provides operations to manage the chats property of the microsoft.graph.user entity. get: tags: - Me.chat summary: Microsoft Graph Get chats from me operationId: me.ListChats parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to chats for me operationId: me.CreateChats requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /me/chats/{chat-id}: description: >- Provides operations to manage the chats property of the microsoft.graph.user entity. get: tags: - Me.chat summary: Microsoft Graph Get chats from me operationId: me.GetChats parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property chats in me operationId: me.UpdateChats requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property chats for me operationId: me.DeleteChats parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/installedApps: description: >- Provides operations to manage the installedApps property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get installedApps from me description: A collection of all the apps in the chat. Nullable. operationId: me.chats.ListInstalledApps parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.teamsAppInstallationCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to installedApps for me operationId: me.chats.CreateInstalledApps requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/installedApps/{teamsAppInstallation-id}: description: >- Provides operations to manage the installedApps property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get installedApps from me description: A collection of all the apps in the chat. Nullable. operationId: me.chats.GetInstalledApps parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property installedApps in me operationId: me.chats.UpdateInstalledApps requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property installedApps for me operationId: me.chats.DeleteInstalledApps parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation /me/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/upgrade: description: Provides operations to call the upgrade method. post: tags: - Me.chat summary: Microsoft Graph Invoke action upgrade description: Upgrade an app installation within a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 operationId: me.chats.chat.installedApps.teamsAppInstallation.upgrade requestBody: description: Action parameters content: application/json: schema: type: object properties: consentedPermissionSet: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamsAppPermissionSet - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation x-ms-docs-grouped-path: - >- /me/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/upgrade /me/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsApp: description: >- Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. get: tags: - Me.chat summary: Microsoft Graph Get teamsApp from me description: The app that is installed. operationId: me.chats.installedApps.GetTeamsApp parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation x-ms-docs-grouped-path: - >- /me/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsApp - /me/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/teamsApp /me/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition: description: >- Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. get: tags: - Me.chat summary: Microsoft Graph Get teamsAppDefinition from me description: The details of this version of the app. operationId: me.chats.installedApps.GetTeamsAppDefinition parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation x-ms-docs-grouped-path: - >- /me/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition - >- /me/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/teamsAppDefinition /me/chats/{chat-id}/installedApps/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.installedApps.GetCount-295d parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/lastMessagePreview: description: >- Provides operations to manage the lastMessagePreview property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get lastMessagePreview from me description: >- Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. operationId: me.chats.GetLastMessagePreview parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property lastMessagePreview in me operationId: me.chats.UpdateLastMessagePreview requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property lastMessagePreview for me operationId: me.chats.DeleteLastMessagePreview parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/members: description: >- Provides operations to manage the members property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph List members of a chat description: >- List all conversation members in a chat. This method supports federation. For one-on-one chats, at least one chat member must belong to the tenant the request initiates from. For group chats, the chat must be initiated by a user in the tenant the request initiates from. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-list-members?view=graph-rest-1.0 operationId: me.chats.ListMembers parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.conversationMemberCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to members for me operationId: me.chats.CreateMembers requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/members/{conversationMember-id}: description: >- Provides operations to manage the members property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get members from me description: A collection of all the members in the chat. Nullable. operationId: me.chats.GetMembers parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property members in me operationId: me.chats.UpdateMembers requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property members for me operationId: me.chats.DeleteMembers parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true schema: type: string x-ms-docs-key-type: conversationMember /me/chats/{chat-id}/members/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.members.GetCount-1223 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/members/add: description: Provides operations to call the add method. post: tags: - Me.chat summary: Microsoft Graph Invoke action add description: >- Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: me.chats.chat.members.add requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: >- #/components/schemas/microsoft.graph.actionResultPart 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /me/followedSites/add - /me/joinedTeams/{team-id}/channels/{channel-id}/allMembers/add - /me/joinedTeams/{team-id}/channels/{channel-id}/members/add - /me/joinedTeams/{team-id}/members/add - /me/joinedTeams/{team-id}/primaryChannel/allMembers/add - /me/joinedTeams/{team-id}/primaryChannel/members/add /me/chats/{chat-id}/members/remove: description: Provides operations to call the remove method. post: tags: - Me.chat summary: Microsoft Graph Invoke action remove description: >- Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: me.chats.chat.members.remove requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: >- #/components/schemas/microsoft.graph.actionResultPart 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /me/followedSites/remove - /me/joinedTeams/{team-id}/channels/{channel-id}/allMembers/remove - /me/joinedTeams/{team-id}/channels/{channel-id}/members/remove - /me/joinedTeams/{team-id}/members/remove - /me/joinedTeams/{team-id}/primaryChannel/allMembers/remove - /me/joinedTeams/{team-id}/primaryChannel/members/remove /me/chats/{chat-id}/messages: description: >- Provides operations to manage the messages property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get messages from me description: A collection of all the messages in the chat. Nullable. operationId: me.chats.ListMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatMessageCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to messages for me operationId: me.chats.CreateMessages requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/messages/{chatMessage-id}: description: >- Provides operations to manage the messages property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get messages from me description: A collection of all the messages in the chat. Nullable. operationId: me.chats.GetMessages parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property messages in me operationId: me.chats.UpdateMessages requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property messages for me operationId: me.chats.DeleteMessages parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /me/chats/{chat-id}/messages/{chatMessage-id}/hostedContents: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - Me.chat summary: Microsoft Graph Get hostedContents from me description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: me.chats.messages.ListHostedContents parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.chatMessageHostedContentCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to hostedContents for me operationId: me.chats.messages.CreateHostedContents requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents /me/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - Me.chat summary: Microsoft Graph Get hostedContents from me description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: me.chats.messages.GetHostedContents parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property hostedContents in me operationId: me.chats.messages.UpdateHostedContents requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property hostedContents for me operationId: me.chats.messages.DeleteHostedContents parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent x-ms-docs-grouped-path: - >- /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} /me/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value: description: Provides operations to manage the media for the user entity. get: tags: - Me.chat summary: Microsoft Graph Get media content for the navigation property hostedContents from me description: The unique identifier for an entity. Read-only. operationId: me.chats.messages.GetHostedContentsContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' put: tags: - Me.chat summary: Microsoft Graph Update media content for the navigation property hostedContents in me description: The unique identifier for an entity. Read-only. operationId: me.chats.messages.UpdateHostedContentsContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' delete: tags: - Me.chat summary: Microsoft Graph Delete media content for the navigation property hostedContents in me description: The unique identifier for an entity. Read-only. operationId: me.chats.messages.DeleteHostedContentsContent parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent /me/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.messages.hostedContents.GetCount-5707 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /me/chats/{chat-id}/messages/{chatMessage-id}/setReaction: description: Provides operations to call the setReaction method. post: tags: - Me.chat summary: Microsoft Graph Invoke action setReaction operationId: me.chats.chat.messages.chatMessage.setReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/setReaction - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/setReaction - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction /me/chats/{chat-id}/messages/{chatMessage-id}/softDelete: description: Provides operations to call the softDelete method. post: tags: - Me.chat summary: Microsoft Graph Invoke action softDelete description: >- Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: me.chats.chat.messages.chatMessage.softDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/softDelete - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/softDelete - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete /me/chats/{chat-id}/messages/{chatMessage-id}/undoSoftDelete: description: Provides operations to call the undoSoftDelete method. post: tags: - Me.chat summary: Microsoft Graph Invoke action undoSoftDelete description: >- Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: me.chats.chat.messages.chatMessage.undoSoftDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/undoSoftDelete - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/undoSoftDelete - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete /me/chats/{chat-id}/messages/{chatMessage-id}/unsetReaction: description: Provides operations to call the unsetReaction method. post: tags: - Me.chat summary: Microsoft Graph Invoke action unsetReaction operationId: me.chats.chat.messages.chatMessage.unsetReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/unsetReaction - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/unsetReaction - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction /me/chats/{chat-id}/messages/{chatMessage-id}/replies: description: >- Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. get: tags: - Me.chat summary: Microsoft Graph Get replies from me description: Replies for a specified message. Supports $expand for channel messages. operationId: me.chats.messages.ListReplies parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatMessageCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to replies for me operationId: me.chats.messages.CreateReplies requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}: description: >- Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. get: tags: - Me.chat summary: Microsoft Graph Get replies from me description: Replies for a specified message. Supports $expand for channel messages. operationId: me.chats.messages.GetReplies parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property replies in me operationId: me.chats.messages.UpdateReplies requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property replies for me operationId: me.chats.messages.DeleteReplies parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1} - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1} /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - Me.chat summary: Microsoft Graph Get hostedContents from me description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: me.chats.messages.replies.ListHostedContents parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.chatMessageHostedContentCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to hostedContents for me operationId: me.chats.messages.replies.CreateHostedContents requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /me/chats/{chat-id}/messages/{chatMessage-id}/hostedContents - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - Me.chat summary: Microsoft Graph Get hostedContents from me description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: me.chats.messages.replies.GetHostedContents parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property hostedContents in me operationId: me.chats.messages.replies.UpdateHostedContents requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property hostedContents for me operationId: me.chats.messages.replies.DeleteHostedContents parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent x-ms-docs-grouped-path: - >- /me/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} ? /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value : description: Provides operations to manage the media for the user entity. get: tags: - Me.chat summary: Microsoft Graph Get media content for the navigation property hostedContents from me description: The unique identifier for an entity. Read-only. operationId: me.chats.messages.replies.GetHostedContentsContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' put: tags: - Me.chat summary: Microsoft Graph Update media content for the navigation property hostedContents in me description: The unique identifier for an entity. Read-only. operationId: me.chats.messages.replies.UpdateHostedContentsContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' delete: tags: - Me.chat summary: Microsoft Graph Delete media content for the navigation property hostedContents in me description: The unique identifier for an entity. Read-only. operationId: me.chats.messages.replies.DeleteHostedContentsContent parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.messages.replies.hostedContents.GetCount-62f4 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction: description: Provides operations to call the setReaction method. post: tags: - Me.chat summary: Microsoft Graph Invoke action setReaction operationId: me.chats.chat.messages.chatMessage.replies.chatMessage.setReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /me/chats/{chat-id}/messages/{chatMessage-id}/setReaction - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/setReaction - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/setReaction - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete: description: Provides operations to call the softDelete method. post: tags: - Me.chat summary: Microsoft Graph Invoke action softDelete description: >- Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: me.chats.chat.messages.chatMessage.replies.chatMessage.softDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /me/chats/{chat-id}/messages/{chatMessage-id}/softDelete - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/softDelete - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/softDelete - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete: description: Provides operations to call the undoSoftDelete method. post: tags: - Me.chat summary: Microsoft Graph Invoke action undoSoftDelete description: >- Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: me.chats.chat.messages.chatMessage.replies.chatMessage.undoSoftDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /me/chats/{chat-id}/messages/{chatMessage-id}/undoSoftDelete - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/undoSoftDelete - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/undoSoftDelete - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete /me/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction: description: Provides operations to call the unsetReaction method. post: tags: - Me.chat summary: Microsoft Graph Invoke action unsetReaction operationId: me.chats.chat.messages.chatMessage.replies.chatMessage.unsetReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /me/chats/{chat-id}/messages/{chatMessage-id}/unsetReaction - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/unsetReaction - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/unsetReaction - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction /me/chats/{chat-id}/messages/{chatMessage-id}/replies/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.messages.replies.GetCount-ac4d parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /me/chats/{chat-id}/messages/{chatMessage-id}/replies/delta(): description: Provides operations to call the delta method. get: tags: - Me.chat summary: Microsoft Graph Invoke function delta description: >- Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: me.chats.chat.messages.chatMessage.replies.delta parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseDeltaFunctionResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /me/calendar/calendarView/delta() - /me/calendar/events/{event-id}/instances/delta() - /me/calendar/events/delta() - >- /me/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/calendarView/delta() - >- /me/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/events/{event-id}/instances/delta() - >- /me/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/events/delta() - /me/calendars/{calendar-id}/calendarView/delta() - /me/calendars/{calendar-id}/events/{event-id}/instances/delta() - /me/calendars/{calendar-id}/events/delta() - /me/calendarView/delta() - /me/chats/{chat-id}/messages/delta() - >- /me/contactFolders/{contactFolder-id}/childFolders/{contactFolder-id1}/contacts/delta() - /me/contactFolders/{contactFolder-id}/childFolders/delta() - /me/contactFolders/{contactFolder-id}/contacts/delta() - /me/contactFolders/delta() - /me/contacts/delta() - /me/events/{event-id}/instances/delta() - /me/events/delta() - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/delta() - /me/joinedTeams/{team-id}/channels/{channel-id}/messages/delta() - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/delta() - /me/joinedTeams/{team-id}/primaryChannel/messages/delta() - >- /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/delta() - /me/mailFolders/{mailFolder-id}/childFolders/delta() - /me/mailFolders/{mailFolder-id}/messages/delta() - /me/mailFolders/delta() - /me/messages/delta() - /me/onlineMeetings/{onlineMeeting-id}/recordings/delta() - /me/onlineMeetings/{onlineMeeting-id}/transcripts/delta() - /me/todo/lists/{todoTaskList-id}/tasks/delta() - /me/todo/lists/delta() /me/chats/{chat-id}/messages/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.messages.GetCount-5db5 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/messages/delta(): description: Provides operations to call the delta method. get: tags: - Me.chat summary: Microsoft Graph Invoke function delta description: >- Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: me.chats.chat.messages.delta parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseDeltaFunctionResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /me/calendar/calendarView/delta() - /me/calendar/events/{event-id}/instances/delta() - /me/calendar/events/delta() - >- /me/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/calendarView/delta() - >- /me/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/events/{event-id}/instances/delta() - >- /me/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/events/delta() - /me/calendars/{calendar-id}/calendarView/delta() - /me/calendars/{calendar-id}/events/{event-id}/instances/delta() - /me/calendars/{calendar-id}/events/delta() - /me/calendarView/delta() - /me/chats/{chat-id}/messages/{chatMessage-id}/replies/delta() - >- /me/contactFolders/{contactFolder-id}/childFolders/{contactFolder-id1}/contacts/delta() - /me/contactFolders/{contactFolder-id}/childFolders/delta() - /me/contactFolders/{contactFolder-id}/contacts/delta() - /me/contactFolders/delta() - /me/contacts/delta() - /me/events/{event-id}/instances/delta() - /me/events/delta() - >- /me/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/delta() - /me/joinedTeams/{team-id}/channels/{channel-id}/messages/delta() - >- /me/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/delta() - /me/joinedTeams/{team-id}/primaryChannel/messages/delta() - >- /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/delta() - /me/mailFolders/{mailFolder-id}/childFolders/delta() - /me/mailFolders/{mailFolder-id}/messages/delta() - /me/mailFolders/delta() - /me/messages/delta() - /me/onlineMeetings/{onlineMeeting-id}/recordings/delta() - /me/onlineMeetings/{onlineMeeting-id}/transcripts/delta() - /me/todo/lists/{todoTaskList-id}/tasks/delta() - /me/todo/lists/delta() /me/chats/{chat-id}/hideForUser: description: Provides operations to call the hideForUser method. post: tags: - Me.chat summary: Microsoft Graph Invoke action hideForUser description: Hide a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-1.0 operationId: me.chats.chat.hideForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/markChatReadForUser: description: Provides operations to call the markChatReadForUser method. post: tags: - Me.chat summary: Microsoft Graph Invoke action markChatReadForUser description: Mark a chat as read for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-1.0 operationId: me.chats.chat.markChatReadForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/markChatUnreadForUser: description: Provides operations to call the markChatUnreadForUser method. post: tags: - Me.chat summary: Microsoft Graph Invoke action markChatUnreadForUser description: Mark a chat as unread for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-1.0 operationId: me.chats.chat.markChatUnreadForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true lastMessageReadDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string format: date-time nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/removeAllAccessForUser: description: Provides operations to call the removeAllAccessForUser method. post: tags: - Me.chat summary: Microsoft Graph Invoke action removeAllAccessForUser description: Remove access to a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 operationId: me.chats.chat.removeAllAccessForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/sendActivityNotification: description: Provides operations to call the sendActivityNotification method. post: tags: - Me.chat summary: Microsoft Graph Invoke action sendActivityNotification description: >- Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-1.0 operationId: me.chats.chat.sendActivityNotification requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkActivityTopic - type: object nullable: true activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: anyOf: - $ref: '#/components/schemas/microsoft.graph.itemBody' - type: object nullable: true teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipient: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkNotificationRecipient - type: object nullable: true iconId: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /me/joinedTeams/{team-id}/sendActivityNotification - /me/teamwork/sendActivityNotification /me/chats/{chat-id}/unhideForUser: description: Provides operations to call the unhideForUser method. post: tags: - Me.chat summary: Microsoft Graph Invoke action unhideForUser description: Unhide a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-1.0 operationId: me.chats.chat.unhideForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/permissionGrants: description: >- Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get permissionGrants from me description: A collection of permissions granted to apps for the chat. operationId: me.chats.ListPermissionGrants parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.resourceSpecificPermissionGrantCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to permissionGrants for me operationId: me.chats.CreatePermissionGrants requestBody: description: New navigation property content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/permissionGrants/{resourceSpecificPermissionGrant-id}: description: >- Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get permissionGrants from me description: A collection of permissions granted to apps for the chat. operationId: me.chats.GetPermissionGrants parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property permissionGrants in me operationId: me.chats.UpdatePermissionGrants requestBody: description: New navigation property values content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant required: true responses: 2XX: description: Success content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property permissionGrants for me operationId: me.chats.DeletePermissionGrants parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant /me/chats/{chat-id}/permissionGrants/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.permissionGrants.GetCount-9e7e parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/pinnedMessages: description: >- Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get pinnedMessages from me description: A collection of all the pinned messages in the chat. Nullable. operationId: me.chats.ListPinnedMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.pinnedChatMessageInfoCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to pinnedMessages for me operationId: me.chats.CreatePinnedMessages requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}: description: >- Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get pinnedMessages from me description: A collection of all the pinned messages in the chat. Nullable. operationId: me.chats.GetPinnedMessages parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property pinnedMessages in me operationId: me.chats.UpdatePinnedMessages requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property pinnedMessages for me operationId: me.chats.DeletePinnedMessages parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo /me/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}/message: description: >- Provides operations to manage the message property of the microsoft.graph.pinnedChatMessageInfo entity. get: tags: - Me.chat summary: Microsoft Graph Get message from me description: Represents details about the chat message that is pinned. operationId: me.chats.pinnedMessages.GetMessage parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo /me/chats/{chat-id}/pinnedMessages/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.pinnedMessages.GetCount-f614 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/tabs: description: >- Provides operations to manage the tabs property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get tabs from me description: A collection of all the tabs in the chat. Nullable. operationId: me.chats.ListTabs parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.teamsTabCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Me.chat summary: Microsoft Graph Create new navigation property to tabs for me operationId: me.chats.CreateTabs requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/{chat-id}/tabs/{teamsTab-id}: description: >- Provides operations to manage the tabs property of the microsoft.graph.chat entity. get: tags: - Me.chat summary: Microsoft Graph Get tabs from me description: A collection of all the tabs in the chat. Nullable. operationId: me.chats.GetTabs parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.chat summary: Microsoft Graph Update the navigation property tabs in me operationId: me.chats.UpdateTabs requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.chat summary: Microsoft Graph Delete navigation property tabs for me operationId: me.chats.DeleteTabs parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true schema: type: string x-ms-docs-key-type: teamsTab /me/chats/{chat-id}/tabs/{teamsTab-id}/teamsApp: description: >- Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. get: tags: - Me.chat summary: Microsoft Graph Get teamsApp from me description: >- The application that is linked to the tab. This can't be changed after tab creation. operationId: me.chats.tabs.GetTeamsApp parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true schema: type: string x-ms-docs-key-type: teamsTab x-ms-docs-grouped-path: - >- /me/joinedTeams/{team-id}/channels/{channel-id}/tabs/{teamsTab-id}/teamsApp - /me/joinedTeams/{team-id}/primaryChannel/tabs/{teamsTab-id}/teamsApp /me/chats/{chat-id}/tabs/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.tabs.GetCount-35b1 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /me/chats/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.chat summary: Microsoft Graph Get the number of the resource operationId: me.chats.GetCount-aef8 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' /me/chats/getAllMessages(): description: Provides operations to call the getAllMessages method. get: tags: - Me.chat summary: Microsoft Graph Invoke function getAllMessages description: >- Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chats-getallmessages?view=graph-rest-1.0 operationId: me.chats.getAllMessages parameters: - name: model in: query description: The payment model for the API schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: - /me/joinedTeams/{team-id}/channels/getAllMessages() - /me/joinedTeams/getAllMessages() /me/chats/getAllRetainedMessages(): description: Provides operations to call the getAllRetainedMessages method. get: tags: - Me.chat summary: Microsoft Graph Invoke function getAllRetainedMessages description: >- Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-1.0 operationId: me.chats.getAllRetainedMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-grouped-path: - /me/joinedTeams/{team-id}/channels/getAllRetainedMessages() /users/{user-id}/chats: description: >- Provides operations to manage the chats property of the microsoft.graph.user entity. get: tags: - Users.chat summary: Microsoft Graph List chats description: >- Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-1.0 operationId: users.ListChats parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to chats for users operationId: users.CreateChats requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user /users/{user-id}/chats/{chat-id}: description: >- Provides operations to manage the chats property of the microsoft.graph.user entity. get: tags: - Users.chat summary: Microsoft Graph Get chat description: >- Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-1.0 operationId: users.GetChats parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property chats in users operationId: users.UpdateChats requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chat' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property chats for users operationId: users.DeleteChats parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/installedApps: description: >- Provides operations to manage the installedApps property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get installedApps from users description: A collection of all the apps in the chat. Nullable. operationId: users.chats.ListInstalledApps parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.teamsAppInstallationCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to installedApps for users operationId: users.chats.CreateInstalledApps requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/installedApps/{teamsAppInstallation-id}: description: >- Provides operations to manage the installedApps property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get installedApps from users description: A collection of all the apps in the chat. Nullable. operationId: users.chats.GetInstalledApps parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property installedApps in users operationId: users.chats.UpdateInstalledApps requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property installedApps for users operationId: users.chats.DeleteInstalledApps parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation /users/{user-id}/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/upgrade: description: Provides operations to call the upgrade method. post: tags: - Users.chat summary: Microsoft Graph Invoke action upgrade description: Upgrade an app installation within a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 operationId: users.user.chats.chat.installedApps.teamsAppInstallation.upgrade requestBody: description: Action parameters content: application/json: schema: type: object properties: consentedPermissionSet: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamsAppPermissionSet - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation x-ms-docs-grouped-path: - >- /users/{user-id}/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/upgrade /users/{user-id}/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsApp: description: >- Provides operations to manage the teamsApp property of the microsoft.graph.teamsAppInstallation entity. get: tags: - Users.chat summary: Microsoft Graph Get teamsApp from users description: The app that is installed. operationId: users.chats.installedApps.GetTeamsApp parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation x-ms-docs-grouped-path: - >- /users/{user-id}/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsApp - >- /users/{user-id}/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/teamsApp /users/{user-id}/chats/{chat-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition: description: >- Provides operations to manage the teamsAppDefinition property of the microsoft.graph.teamsAppInstallation entity. get: tags: - Users.chat summary: Microsoft Graph Get teamsAppDefinition from users description: The details of this version of the app. operationId: users.chats.installedApps.GetTeamsAppDefinition parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsAppInstallation-id in: path description: The unique identifier of teamsAppInstallation required: true schema: type: string x-ms-docs-key-type: teamsAppInstallation x-ms-docs-grouped-path: - >- /users/{user-id}/joinedTeams/{team-id}/installedApps/{teamsAppInstallation-id}/teamsAppDefinition - >- /users/{user-id}/teamwork/installedApps/{userScopeTeamsAppInstallation-id}/teamsAppDefinition /users/{user-id}/chats/{chat-id}/installedApps/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.installedApps.GetCount-0d67 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/lastMessagePreview: description: >- Provides operations to manage the lastMessagePreview property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get lastMessagePreview from users description: >- Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. operationId: users.chats.GetLastMessagePreview parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property lastMessagePreview in users operationId: users.chats.UpdateLastMessagePreview requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property lastMessagePreview for users operationId: users.chats.DeleteLastMessagePreview parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/members: description: >- Provides operations to manage the members property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get members from users description: A collection of all the members in the chat. Nullable. operationId: users.chats.ListMembers parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.conversationMemberCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to members for users operationId: users.chats.CreateMembers requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/members/{conversationMember-id}: description: >- Provides operations to manage the members property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get members from users description: A collection of all the members in the chat. Nullable. operationId: users.chats.GetMembers parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property members in users operationId: users.chats.UpdateMembers requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.conversationMember' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property members for users operationId: users.chats.DeleteMembers parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: conversationMember-id in: path description: The unique identifier of conversationMember required: true schema: type: string x-ms-docs-key-type: conversationMember /users/{user-id}/chats/{chat-id}/members/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.members.GetCount-b25d parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/members/add: description: Provides operations to call the add method. post: tags: - Users.chat summary: Microsoft Graph Invoke action add description: >- Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 operationId: users.user.chats.chat.members.add requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: >- #/components/schemas/microsoft.graph.actionResultPart 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /users/{user-id}/followedSites/add - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/allMembers/add - /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/members/add - /users/{user-id}/joinedTeams/{team-id}/members/add - /users/{user-id}/joinedTeams/{team-id}/primaryChannel/allMembers/add - /users/{user-id}/joinedTeams/{team-id}/primaryChannel/members/add /users/{user-id}/chats/{chat-id}/members/remove: description: Provides operations to call the remove method. post: tags: - Users.chat summary: Microsoft Graph Invoke action remove description: >- Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 operationId: users.user.chats.chat.members.remove requestBody: description: Action parameters content: application/json: schema: type: object properties: values: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' required: true responses: 2XX: description: Success content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: >- #/components/schemas/microsoft.graph.actionResultPart 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /users/{user-id}/followedSites/remove - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/allMembers/remove - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/members/remove - /users/{user-id}/joinedTeams/{team-id}/members/remove - /users/{user-id}/joinedTeams/{team-id}/primaryChannel/allMembers/remove - /users/{user-id}/joinedTeams/{team-id}/primaryChannel/members/remove /users/{user-id}/chats/{chat-id}/messages: description: >- Provides operations to manage the messages property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get messages from users description: A collection of all the messages in the chat. Nullable. operationId: users.chats.ListMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatMessageCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to messages for users operationId: users.chats.CreateMessages requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}: description: >- Provides operations to manage the messages property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get messages from users description: A collection of all the messages in the chat. Nullable. operationId: users.chats.GetMessages parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property messages in users operationId: users.chats.UpdateMessages requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property messages for users operationId: users.chats.DeleteMessages parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - Users.chat summary: Microsoft Graph Get hostedContents from users description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: users.chats.messages.ListHostedContents parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.chatMessageHostedContentCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to hostedContents for users operationId: users.chats.messages.CreateHostedContents requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - Users.chat summary: Microsoft Graph Get hostedContents from users description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: users.chats.messages.GetHostedContents parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property hostedContents in users operationId: users.chats.messages.UpdateHostedContents requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property hostedContents for users operationId: users.chats.messages.DeleteHostedContents parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value: description: Provides operations to manage the media for the user entity. get: tags: - Users.chat summary: Microsoft Graph Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: users.chats.messages.GetHostedContentsContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' put: tags: - Users.chat summary: Microsoft Graph Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: users.chats.messages.UpdateHostedContentsContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' delete: tags: - Users.chat summary: Microsoft Graph Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: users.chats.messages.DeleteHostedContentsContent parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.messages.hostedContents.GetCount-e922 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/setReaction: description: Provides operations to call the setReaction method. post: tags: - Users.chat summary: Microsoft Graph Invoke action setReaction operationId: users.user.chats.chat.messages.chatMessage.setReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/setReaction - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/setReaction - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/softDelete: description: Provides operations to call the softDelete method. post: tags: - Users.chat summary: Microsoft Graph Invoke action softDelete description: >- Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: users.user.chats.chat.messages.chatMessage.softDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/softDelete - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/softDelete - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/undoSoftDelete: description: Provides operations to call the undoSoftDelete method. post: tags: - Users.chat summary: Microsoft Graph Invoke action undoSoftDelete description: >- Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: users.user.chats.chat.messages.chatMessage.undoSoftDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/undoSoftDelete - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/undoSoftDelete - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/unsetReaction: description: Provides operations to call the unsetReaction method. post: tags: - Users.chat summary: Microsoft Graph Invoke action unsetReaction operationId: users.user.chats.chat.messages.chatMessage.unsetReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/unsetReaction - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/unsetReaction - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies: description: >- Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. get: tags: - Users.chat summary: Microsoft Graph Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: users.chats.messages.ListReplies parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.chatMessageCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to replies for users operationId: users.chats.messages.CreateReplies requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}: description: >- Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. get: tags: - Users.chat summary: Microsoft Graph Get replies from users description: Replies for a specified message. Supports $expand for channel messages. operationId: users.chats.messages.GetReplies parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property replies in users operationId: users.chats.messages.UpdateReplies requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property replies for users operationId: users.chats.messages.DeleteReplies parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1} - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1} /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents: description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - Users.chat summary: Microsoft Graph Get hostedContents from users description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: users.chats.messages.replies.ListHostedContents parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.chatMessageHostedContentCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to hostedContents for users operationId: users.chats.messages.replies.CreateHostedContents requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents ? /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} : description: >- Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. get: tags: - Users.chat summary: Microsoft Graph Get hostedContents from users description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. operationId: users.chats.messages.replies.GetHostedContents parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property hostedContents in users operationId: users.chats.messages.replies.UpdateHostedContents requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property hostedContents for users operationId: users.chats.messages.replies.DeleteHostedContents parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} ? /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value : description: Provides operations to manage the media for the user entity. get: tags: - Users.chat summary: Microsoft Graph Get media content for the navigation property hostedContents from users description: The unique identifier for an entity. Read-only. operationId: users.chats.messages.replies.GetHostedContentsContent responses: 2XX: description: Retrieved media content content: application/octet-stream: schema: type: string format: binary 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' put: tags: - Users.chat summary: Microsoft Graph Update media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: users.chats.messages.replies.UpdateHostedContentsContent requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: 2XX: description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' delete: tags: - Users.chat summary: Microsoft Graph Delete media content for the navigation property hostedContents in users description: The unique identifier for an entity. Read-only. operationId: users.chats.messages.replies.DeleteHostedContentsContent parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessageHostedContent-id in: path description: The unique identifier of chatMessageHostedContent required: true schema: type: string x-ms-docs-key-type: chatMessageHostedContent /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.messages.replies.hostedContents.GetCount-34f5 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction: description: Provides operations to call the setReaction method. post: tags: - Users.chat summary: Microsoft Graph Invoke action setReaction operationId: >- users.user.chats.chat.messages.chatMessage.replies.chatMessage.setReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/setReaction - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/setReaction - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/setReaction - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete: description: Provides operations to call the softDelete method. post: tags: - Users.chat summary: Microsoft Graph Invoke action softDelete description: >- Delete a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 operationId: >- users.user.chats.chat.messages.chatMessage.replies.chatMessage.softDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/softDelete - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/softDelete - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/softDelete - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete: description: Provides operations to call the undoSoftDelete method. post: tags: - Users.chat summary: Microsoft Graph Invoke action undoSoftDelete description: >- Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 operationId: >- users.user.chats.chat.messages.chatMessage.replies.chatMessage.undoSoftDelete responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/undoSoftDelete - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/undoSoftDelete - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/undoSoftDelete - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction: description: Provides operations to call the unsetReaction method. post: tags: - Users.chat summary: Microsoft Graph Invoke action unsetReaction operationId: >- users.user.chats.chat.messages.chatMessage.replies.chatMessage.unsetReaction requestBody: description: Action parameters content: application/json: schema: type: object properties: reactionType: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage - name: chatMessage-id1 in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/unsetReaction - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/unsetReaction - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/unsetReaction - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.messages.replies.GetCount-cecc parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/delta(): description: Provides operations to call the delta method. get: tags: - Users.chat summary: Microsoft Graph Invoke function delta description: >- Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: users.user.chats.chat.messages.chatMessage.replies.delta parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseDeltaFunctionResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: chatMessage-id in: path description: The unique identifier of chatMessage required: true schema: type: string x-ms-docs-key-type: chatMessage x-ms-docs-grouped-path: - /users/{user-id}/calendar/calendarView/delta() - /users/{user-id}/calendar/events/{event-id}/instances/delta() - /users/{user-id}/calendar/events/delta() - >- /users/{user-id}/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/calendarView/delta() - >- /users/{user-id}/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/events/{event-id}/instances/delta() - >- /users/{user-id}/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/events/delta() - /users/{user-id}/calendars/{calendar-id}/calendarView/delta() - >- /users/{user-id}/calendars/{calendar-id}/events/{event-id}/instances/delta() - /users/{user-id}/calendars/{calendar-id}/events/delta() - /users/{user-id}/calendarView/delta() - /users/{user-id}/chats/{chat-id}/messages/delta() - >- /users/{user-id}/contactFolders/{contactFolder-id}/childFolders/{contactFolder-id1}/contacts/delta() - /users/{user-id}/contactFolders/{contactFolder-id}/childFolders/delta() - /users/{user-id}/contactFolders/{contactFolder-id}/contacts/delta() - /users/{user-id}/contactFolders/delta() - /users/{user-id}/contacts/delta() - /users/{user-id}/events/{event-id}/instances/delta() - /users/{user-id}/events/delta() - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/delta() - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/delta() - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/delta() - /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/delta() - >- /users/{user-id}/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/delta() - /users/{user-id}/mailFolders/{mailFolder-id}/childFolders/delta() - /users/{user-id}/mailFolders/{mailFolder-id}/messages/delta() - /users/{user-id}/mailFolders/delta() - /users/{user-id}/messages/delta() - /users/{user-id}/onlineMeetings/{onlineMeeting-id}/recordings/delta() - /users/{user-id}/onlineMeetings/{onlineMeeting-id}/transcripts/delta() - /users/{user-id}/todo/lists/{todoTaskList-id}/tasks/delta() - /users/{user-id}/todo/lists/delta() - /users/delta() - /users/delta() /users/{user-id}/chats/{chat-id}/messages/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.messages.GetCount-c95d parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/messages/delta(): description: Provides operations to call the delta method. get: tags: - Users.chat summary: Microsoft Graph Invoke function delta description: >- Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-1.0 operationId: users.user.chats.chat.messages.delta parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseDeltaFunctionResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /users/{user-id}/calendar/calendarView/delta() - /users/{user-id}/calendar/events/{event-id}/instances/delta() - /users/{user-id}/calendar/events/delta() - >- /users/{user-id}/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/calendarView/delta() - >- /users/{user-id}/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/events/{event-id}/instances/delta() - >- /users/{user-id}/calendarGroups/{calendarGroup-id}/calendars/{calendar-id}/events/delta() - /users/{user-id}/calendars/{calendar-id}/calendarView/delta() - >- /users/{user-id}/calendars/{calendar-id}/events/{event-id}/instances/delta() - /users/{user-id}/calendars/{calendar-id}/events/delta() - /users/{user-id}/calendarView/delta() - >- /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/replies/delta() - >- /users/{user-id}/contactFolders/{contactFolder-id}/childFolders/{contactFolder-id1}/contacts/delta() - /users/{user-id}/contactFolders/{contactFolder-id}/childFolders/delta() - /users/{user-id}/contactFolders/{contactFolder-id}/contacts/delta() - /users/{user-id}/contactFolders/delta() - /users/{user-id}/contacts/delta() - /users/{user-id}/events/{event-id}/instances/delta() - /users/{user-id}/events/delta() - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/delta() - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/messages/delta() - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/{chatMessage-id}/replies/delta() - /users/{user-id}/joinedTeams/{team-id}/primaryChannel/messages/delta() - >- /users/{user-id}/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/delta() - /users/{user-id}/mailFolders/{mailFolder-id}/childFolders/delta() - /users/{user-id}/mailFolders/{mailFolder-id}/messages/delta() - /users/{user-id}/mailFolders/delta() - /users/{user-id}/messages/delta() - /users/{user-id}/onlineMeetings/{onlineMeeting-id}/recordings/delta() - /users/{user-id}/onlineMeetings/{onlineMeeting-id}/transcripts/delta() - /users/{user-id}/todo/lists/{todoTaskList-id}/tasks/delta() - /users/{user-id}/todo/lists/delta() - /users/delta() - /users/delta() /users/{user-id}/chats/{chat-id}/hideForUser: description: Provides operations to call the hideForUser method. post: tags: - Users.chat summary: Microsoft Graph Invoke action hideForUser description: Hide a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-1.0 operationId: users.user.chats.chat.hideForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/markChatReadForUser: description: Provides operations to call the markChatReadForUser method. post: tags: - Users.chat summary: Microsoft Graph Invoke action markChatReadForUser description: Mark a chat as read for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-1.0 operationId: users.user.chats.chat.markChatReadForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/markChatUnreadForUser: description: Provides operations to call the markChatUnreadForUser method. post: tags: - Users.chat summary: Microsoft Graph Invoke action markChatUnreadForUser description: Mark a chat as unread for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-1.0 operationId: users.user.chats.chat.markChatUnreadForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true lastMessageReadDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string format: date-time nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/removeAllAccessForUser: description: Provides operations to call the removeAllAccessForUser method. post: tags: - Users.chat summary: Microsoft Graph Invoke action removeAllAccessForUser description: Remove access to a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 operationId: users.user.chats.chat.removeAllAccessForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/sendActivityNotification: description: Provides operations to call the sendActivityNotification method. post: tags: - Users.chat summary: Microsoft Graph Invoke action sendActivityNotification description: >- Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-1.0 operationId: users.user.chats.chat.sendActivityNotification requestBody: description: Action parameters content: application/json: schema: type: object properties: topic: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkActivityTopic - type: object nullable: true activityType: type: string nullable: true chainId: type: number format: int64 nullable: true previewText: anyOf: - $ref: '#/components/schemas/microsoft.graph.itemBody' - type: object nullable: true teamsAppId: type: string nullable: true templateParameters: type: array items: $ref: '#/components/schemas/microsoft.graph.keyValuePair' recipient: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkNotificationRecipient - type: object nullable: true iconId: type: string nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat x-ms-docs-grouped-path: - /users/{user-id}/joinedTeams/{team-id}/sendActivityNotification - /users/{user-id}/teamwork/sendActivityNotification /users/{user-id}/chats/{chat-id}/unhideForUser: description: Provides operations to call the unhideForUser method. post: tags: - Users.chat summary: Microsoft Graph Invoke action unhideForUser description: Unhide a chat for a user. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-1.0 operationId: users.user.chats.chat.unhideForUser requestBody: description: Action parameters content: application/json: schema: type: object properties: user: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkUserIdentity - type: object nullable: true required: true responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/permissionGrants: description: >- Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get permissionGrants from users description: A collection of permissions granted to apps for the chat. operationId: users.chats.ListPermissionGrants parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.resourceSpecificPermissionGrantCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to permissionGrants for users operationId: users.chats.CreatePermissionGrants requestBody: description: New navigation property content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/permissionGrants/{resourceSpecificPermissionGrant-id}: description: >- Provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get permissionGrants from users description: A collection of permissions granted to apps for the chat. operationId: users.chats.GetPermissionGrants parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property permissionGrants in users operationId: users.chats.UpdatePermissionGrants requestBody: description: New navigation property values content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant required: true responses: 2XX: description: Success content: application/json: schema: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property permissionGrants for users operationId: users.chats.DeletePermissionGrants parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: resourceSpecificPermissionGrant-id in: path description: The unique identifier of resourceSpecificPermissionGrant required: true schema: type: string x-ms-docs-key-type: resourceSpecificPermissionGrant /users/{user-id}/chats/{chat-id}/permissionGrants/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.permissionGrants.GetCount-8aa5 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/pinnedMessages: description: >- Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get pinnedMessages from users description: A collection of all the pinned messages in the chat. Nullable. operationId: users.chats.ListPinnedMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: >- #/components/responses/microsoft.graph.pinnedChatMessageInfoCollectionResponse 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to pinnedMessages for users operationId: users.chats.CreatePinnedMessages requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}: description: >- Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get pinnedMessages from users description: A collection of all the pinned messages in the chat. Nullable. operationId: users.chats.GetPinnedMessages parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property pinnedMessages in users operationId: users.chats.UpdatePinnedMessages requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property pinnedMessages for users operationId: users.chats.DeletePinnedMessages parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo /users/{user-id}/chats/{chat-id}/pinnedMessages/{pinnedChatMessageInfo-id}/message: description: >- Provides operations to manage the message property of the microsoft.graph.pinnedChatMessageInfo entity. get: tags: - Users.chat summary: Microsoft Graph Get message from users description: Represents details about the chat message that is pinned. operationId: users.chats.pinnedMessages.GetMessage parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: pinnedChatMessageInfo-id in: path description: The unique identifier of pinnedChatMessageInfo required: true schema: type: string x-ms-docs-key-type: pinnedChatMessageInfo /users/{user-id}/chats/{chat-id}/pinnedMessages/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.pinnedMessages.GetCount-bc2d parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/tabs: description: >- Provides operations to manage the tabs property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get tabs from users description: A collection of all the tabs in the chat. Nullable. operationId: users.chats.ListTabs parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: $ref: '#/components/responses/microsoft.graph.teamsTabCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation post: tags: - Users.chat summary: Microsoft Graph Create new navigation property to tabs for users operationId: users.chats.CreateTabs requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/{chat-id}/tabs/{teamsTab-id}: description: >- Provides operations to manage the tabs property of the microsoft.graph.chat entity. get: tags: - Users.chat summary: Microsoft Graph Get tabs from users description: A collection of all the tabs in the chat. Nullable. operationId: users.chats.GetTabs parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Users.chat summary: Microsoft Graph Update the navigation property tabs in users operationId: users.chats.UpdateTabs requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' required: true responses: 2XX: description: Success content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTab' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Users.chat summary: Microsoft Graph Delete navigation property tabs for users operationId: users.chats.DeleteTabs parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true schema: type: string x-ms-docs-key-type: teamsTab /users/{user-id}/chats/{chat-id}/tabs/{teamsTab-id}/teamsApp: description: >- Provides operations to manage the teamsApp property of the microsoft.graph.teamsTab entity. get: tags: - Users.chat summary: Microsoft Graph Get teamsApp from users description: >- The application that is linked to the tab. This can't be changed after tab creation. operationId: users.chats.tabs.GetTeamsApp parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsApp' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat - name: teamsTab-id in: path description: The unique identifier of teamsTab required: true schema: type: string x-ms-docs-key-type: teamsTab x-ms-docs-grouped-path: - >- /users/{user-id}/joinedTeams/{team-id}/channels/{channel-id}/tabs/{teamsTab-id}/teamsApp - >- /users/{user-id}/joinedTeams/{team-id}/primaryChannel/tabs/{teamsTab-id}/teamsApp /users/{user-id}/chats/{chat-id}/tabs/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.tabs.GetCount-bf26 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user - name: chat-id in: path description: The unique identifier of chat required: true schema: type: string x-ms-docs-key-type: chat /users/{user-id}/chats/$count: description: Provides operations to count the resources in the collection. get: tags: - Users.chat summary: Microsoft Graph Get the number of the resource operationId: users.chats.GetCount-38c2 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: 2XX: $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user /users/{user-id}/chats/getAllMessages(): description: Provides operations to call the getAllMessages method. get: tags: - Users.chat summary: Microsoft Graph Invoke function getAllMessages description: >- Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chats-getallmessages?view=graph-rest-1.0 operationId: users.user.chats.getAllMessages parameters: - name: model in: query description: The payment model for the API schema: type: string - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user x-ms-docs-grouped-path: - /users/{user-id}/joinedTeams/{team-id}/channels/getAllMessages() - /users/{user-id}/joinedTeams/getAllMessages() /users/{user-id}/chats/getAllRetainedMessages(): description: Provides operations to call the getAllRetainedMessages method. get: tags: - Users.chat summary: Microsoft Graph Invoke function getAllRetainedMessages description: >- Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. externalDocs: description: Find more info here url: >- https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-1.0 operationId: users.user.chats.getAllRetainedMessages parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: 2XX: description: Success content: application/json: schema: title: Collection of chatMessage type: object allOf: - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' - type: object properties: value: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore parameters: - name: user-id in: path description: The unique identifier of user required: true schema: type: string x-ms-docs-key-type: user x-ms-docs-grouped-path: - /users/{user-id}/joinedTeams/{team-id}/channels/getAllRetainedMessages() components: schemas: microsoft.graph.chat: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: chat required: - '@odata.type' type: object properties: chatType: $ref: '#/components/schemas/microsoft.graph.chatType' createdDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string description: Date and time at which the chat was created. Read-only. format: date-time nullable: true isHiddenForAllMembers: type: boolean description: >- Indicates whether the chat is hidden for all its members. Read-only. nullable: true lastUpdatedDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string description: >- Date and time at which the chat was renamed or the list of members was last changed. Read-only. format: date-time nullable: true onlineMeetingInfo: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamworkOnlineMeetingInfo - type: object nullable: true description: >- Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. tenantId: type: string description: >- The identifier of the tenant in which the chat was created. Read-only. nullable: true topic: type: string description: >- (Optional) Subject or topic for the chat. Only available for group chats. nullable: true viewpoint: anyOf: - $ref: '#/components/schemas/microsoft.graph.chatViewpoint' - type: object nullable: true description: >- Represents caller-specific information about the chat, such as the last message read date and time. This property is populated only when the request is made in a delegated context. webUrl: type: string description: >- The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only. nullable: true installedApps: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAppInstallation' description: A collection of all the apps in the chat. Nullable. x-ms-navigationProperty: true lastMessagePreview: anyOf: - $ref: '#/components/schemas/microsoft.graph.chatMessageInfo' - type: object nullable: true description: >- Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. x-ms-navigationProperty: true members: type: array items: $ref: '#/components/schemas/microsoft.graph.conversationMember' description: A collection of all the members in the chat. Nullable. x-ms-navigationProperty: true messages: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' description: A collection of all the messages in the chat. Nullable. x-ms-navigationProperty: true permissionGrants: type: array items: $ref: >- #/components/schemas/microsoft.graph.resourceSpecificPermissionGrant description: A collection of permissions granted to apps for the chat. x-ms-navigationProperty: true pinnedMessages: type: array items: $ref: '#/components/schemas/microsoft.graph.pinnedChatMessageInfo' description: A collection of all the pinned messages in the chat. Nullable. x-ms-navigationProperty: true tabs: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsTab' description: A collection of all the tabs in the chat. Nullable. x-ms-navigationProperty: true '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.chat' microsoft.graph.teamsAppInstallation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsAppInstallation required: - '@odata.type' type: object properties: consentedPermissionSet: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamsAppPermissionSet' - type: object nullable: true description: >- The set of resource-specific permissions consented to while installing or upgrading the teamsApp. teamsApp: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamsApp' - type: object nullable: true description: The app that is installed. x-ms-navigationProperty: true teamsAppDefinition: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' - type: object nullable: true description: The details of this version of the app. x-ms-navigationProperty: true '@odata.type': type: string discriminator: propertyName: '@odata.type' mapping: '#microsoft.graph.userScopeTeamsAppInstallation': >- #/components/schemas/microsoft.graph.userScopeTeamsAppInstallation microsoft.graph.teamsApp: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsApp required: - '@odata.type' type: object properties: displayName: type: string description: >- The name of the catalog app provided by the app developer in the Microsoft Teams zip app package. nullable: true distributionMethod: anyOf: - $ref: >- #/components/schemas/microsoft.graph.teamsAppDistributionMethod - type: object nullable: true description: The method of distribution for the app. Read-only. externalId: type: string description: >- The ID of the catalog provided by the app developer in the Microsoft Teams zip app package. nullable: true appDefinitions: type: array items: $ref: '#/components/schemas/microsoft.graph.teamsAppDefinition' description: The details for each version of the app. x-ms-navigationProperty: true '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.teamsApp' microsoft.graph.teamsAppDefinition: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsAppDefinition required: - '@odata.type' type: object properties: authorization: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamsAppAuthorization' - type: object nullable: true description: Authorization requirements specified in the Teams app manifest. createdBy: anyOf: - $ref: '#/components/schemas/microsoft.graph.identitySet' - type: object nullable: true description: type: string description: Verbose description of the application. nullable: true displayName: type: string description: The name of the app provided by the app developer. nullable: true lastModifiedDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string format: date-time nullable: true publishingState: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamsAppPublishingState' - type: object nullable: true description: >- The published status of a specific version of a Teams app. The possible values are:submitted—The specific version of the Teams app was submitted and is under review.published—The request to publish the specific version of the Teams app was approved by the admin and the app is published.rejected—The admin rejected the request to publish the specific version of the Teams app. shortDescription: type: string description: Short description of the application. nullable: true teamsAppId: type: string description: The ID from the Teams app manifest. nullable: true version: type: string description: The version number of the application. nullable: true bot: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamworkBot' - type: object nullable: true description: The details of the bot specified in the Teams app manifest. x-ms-navigationProperty: true '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.teamsAppDefinition' microsoft.graph.chatMessageInfo: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: chatMessageInfo required: - '@odata.type' type: object properties: body: anyOf: - $ref: '#/components/schemas/microsoft.graph.itemBody' - type: object nullable: true description: >- Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object doesn't return @mentions and attachments. createdDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string description: >- Date time object representing the time at which message was created. format: date-time nullable: true eventDetail: anyOf: - $ref: '#/components/schemas/microsoft.graph.eventMessageDetail' - type: object nullable: true description: >- Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property is set to systemEventMessage. from: anyOf: - $ref: >- #/components/schemas/microsoft.graph.chatMessageFromIdentitySet - type: object nullable: true description: Information about the sender of the message. isDeleted: type: boolean description: If set to true, the original message has been deleted. nullable: true messageType: $ref: '#/components/schemas/microsoft.graph.chatMessageType' '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.chatMessageInfo' microsoft.graph.conversationMember: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: conversationMember required: - '@odata.type' type: object properties: displayName: type: string description: The display name of the user. nullable: true roles: type: array items: type: string nullable: true description: >- The roles for that user. This property contains more qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member shouldn't have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. visibleHistoryStartDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string description: >- The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat. format: date-time nullable: true '@odata.type': type: string discriminator: propertyName: '@odata.type' mapping: '#microsoft.graph.aadUserConversationMember': '#/components/schemas/microsoft.graph.aadUserConversationMember' '#microsoft.graph.anonymousGuestConversationMember': >- #/components/schemas/microsoft.graph.anonymousGuestConversationMember '#microsoft.graph.azureCommunicationServicesUserConversationMember': >- #/components/schemas/microsoft.graph.azureCommunicationServicesUserConversationMember '#microsoft.graph.microsoftAccountUserConversationMember': >- #/components/schemas/microsoft.graph.microsoftAccountUserConversationMember '#microsoft.graph.phoneUserConversationMember': '#/components/schemas/microsoft.graph.phoneUserConversationMember' '#microsoft.graph.skypeForBusinessUserConversationMember': >- #/components/schemas/microsoft.graph.skypeForBusinessUserConversationMember '#microsoft.graph.skypeUserConversationMember': '#/components/schemas/microsoft.graph.skypeUserConversationMember' BaseCollectionPaginationCountResponse: title: Base collection pagination and count responses type: object properties: '@odata.count': type: integer format: int64 nullable: true '@odata.nextLink': type: string nullable: true microsoft.graph.chatMessage: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: chatMessage required: - '@odata.type' type: object properties: attachments: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageAttachment' description: References to attached objects like files, tabs, meetings etc. body: $ref: '#/components/schemas/microsoft.graph.itemBody' channelIdentity: anyOf: - $ref: '#/components/schemas/microsoft.graph.channelIdentity' - type: object nullable: true description: >- If the message was sent in a channel, represents identity of the channel. chatId: type: string description: >- If the message was sent in a chat, represents the identity of the chat. nullable: true createdDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string description: Timestamp of when the chat message was created. format: date-time nullable: true deletedDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string description: >- Read only. Timestamp at which the chat message was deleted, or null if not deleted. format: date-time nullable: true etag: type: string description: Read-only. Version number of the chat message. nullable: true eventDetail: anyOf: - $ref: '#/components/schemas/microsoft.graph.eventMessageDetail' - type: object nullable: true description: >- Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, adding new members. For event messages, the messageType property will be set to systemEventMessage. from: anyOf: - $ref: >- #/components/schemas/microsoft.graph.chatMessageFromIdentitySet - type: object nullable: true description: >- Details of the sender of the chat message. Can only be set during migration. importance: $ref: '#/components/schemas/microsoft.graph.chatMessageImportance' lastEditedDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string description: >- Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. format: date-time nullable: true lastModifiedDateTime: pattern: >- ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$ type: string description: >- Read only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. format: date-time nullable: true locale: type: string description: >- Locale of the chat message set by the client. Always set to en-us. mentions: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageMention' description: >- List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, chat, and tag. messageHistory: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageHistoryItem' description: >- List of activity history of a message item, including modification time and actions, such as reactionAdded, reactionRemoved, or reaction changes, on the message. messageType: $ref: '#/components/schemas/microsoft.graph.chatMessageType' policyViolation: anyOf: - $ref: >- #/components/schemas/microsoft.graph.chatMessagePolicyViolation - type: object nullable: true description: >- Defines the properties of a policy violation set by a data loss prevention (DLP) application. reactions: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageReaction' description: Reactions for this chat message (for example, Like). replyToId: type: string description: >- Read-only. ID of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels, not chats.) nullable: true subject: type: string description: The subject of the chat message, in plaintext. nullable: true summary: type: string description: >- Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat. nullable: true webUrl: type: string description: Read-only. Link to the message in Microsoft Teams. nullable: true hostedContents: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessageHostedContent' description: >- Content in a message hosted by Microsoft Teams - for example, images or code snippets. x-ms-navigationProperty: true replies: type: array items: $ref: '#/components/schemas/microsoft.graph.chatMessage' description: >- Replies for a specified message. Supports $expand for channel messages. x-ms-navigationProperty: true '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.chatMessage' microsoft.graph.chatMessageHostedContent: allOf: - $ref: '#/components/schemas/microsoft.graph.teamworkHostedContent' - title: chatMessageHostedContent required: - '@odata.type' type: object properties: '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.chatMessageHostedContent' BaseDeltaFunctionResponse: title: Base delta function response type: object properties: '@odata.nextLink': type: string nullable: true '@odata.deltaLink': type: string nullable: true microsoft.graph.itemBody: title: itemBody required: - '@odata.type' type: object properties: content: type: string description: The content of the item. nullable: true contentType: anyOf: - $ref: '#/components/schemas/microsoft.graph.bodyType' - type: object nullable: true description: The type of the content. Possible values are text and html. '@odata.type': type: string microsoft.graph.keyValuePair: title: keyValuePair required: - '@odata.type' type: object properties: name: type: string description: Name for this key-value pair value: type: string description: Value for this key-value pair nullable: true '@odata.type': type: string microsoft.graph.pinnedChatMessageInfo: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: pinnedChatMessageInfo required: - '@odata.type' type: object properties: message: anyOf: - $ref: '#/components/schemas/microsoft.graph.chatMessage' - type: object nullable: true description: Represents details about the chat message that is pinned. x-ms-navigationProperty: true '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.pinnedChatMessageInfo' microsoft.graph.teamsTab: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' - title: teamsTab required: - '@odata.type' type: object properties: configuration: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamsTabConfiguration' - type: object nullable: true description: >- Container for custom settings applied to a tab. The tab is considered configured only once this property is set. displayName: type: string description: Name of the tab. nullable: true webUrl: type: string description: Deep link URL of the tab instance. Read-only. nullable: true teamsApp: anyOf: - $ref: '#/components/schemas/microsoft.graph.teamsApp' - type: object nullable: true description: >- The application that is linked to the tab. This can't be changed after tab creation. x-ms-navigationProperty: true '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.teamsTab' parameters: top: name: $top in: query description: Show only the first n items style: form explode: false schema: minimum: 0 type: integer example: 50 skip: name: $skip in: query description: Skip the first n items style: form explode: false schema: minimum: 0 type: integer search: name: $search in: query description: Search items by search phrases style: form explode: false schema: type: string filter: name: $filter in: query description: Filter items by property values style: form explode: false schema: type: string count: name: $count in: query description: Include count of items style: form explode: false schema: type: boolean examples: {} responses: microsoft.graph.chatCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatCollectionResponse' error: description: error content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.ODataErrors.ODataError' ODataCountResponse: description: The count of the resource content: text/plain: schema: $ref: '#/components/schemas/ODataCountResponse' microsoft.graph.chatMessageCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.chatMessageCollectionResponse' microsoft.graph.teamsTabCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/microsoft.graph.teamsTabCollectionResponse' tags: - name: Chats.chat - name: chats.chat.Actions - name: chats.chat.Functions - name: chats.chatMessage - name: chats.chatMessageInfo - name: chats.conversationMember - name: chats.pinnedChatMessageInfo - name: chats.resourceSpecificPermissionGrant - name: chats.teamsAppInstallation - name: chats.teamsTab - name: Me.chat - name: Users.chat