Eventi
19 nov, 23 - 21 nov, 23
Partecipa alle sessioni online di Microsoft Ignite create per espandere le tue competenze e aiutarti a risolvere i problemi complessi di oggi.
Iscriviti subitoQuesto browser non è più supportato.
Esegui l'aggiornamento a Microsoft Edge per sfruttare i vantaggi di funzionalità più recenti, aggiornamenti della sicurezza e supporto tecnico.
Importante
This component is in preview and is subject to change. The use of these components in production applications is not supported.
Nota
This component is currently only available as a React component and doesn't have a web component equivalent.
Nota
This feature takes advantage of real-time endpoints, high-capacity APIs and is subject to the same billing model described in the payment models and licensing requirements for Microsoft Teams APIs.
The chat component enables the user to have 1:1 or group conversations. This component doesn't support channel conversations. The component allows for rendering conversations and authoring new messages. All data is stored in Microsoft Teams.
The following example displays a conversation using the mgt-chat
component.
Attribute | Property | Description |
---|---|---|
chat-id | chatId | A string ID to set the 1:1 or group conversation to render. Required. |
The mgt-chat
component doesn't define CSS custom properties.
The mgt-chat
component doesn't offer any events.
The mgt-chat
component doesn't offer templates to override.
This control uses the following Microsoft Graph APIs and permissions.
Configuration | Permission | API |
---|---|---|
chatId is set |
Chat.ReadBasic, Chat.Read, ChatMessage.Read, Chat.ReadWrite, ChatMember.ReadWrite | /chats/{id}/messages, /chats/{id}/messages, /chats/{id}/messages/{messageId}, /me/chats/{id}/messages/{messageId}/softDelete, /chats/{id}/members/{membershipId}, /chats/{id}/members, /chats/{id}/messages/{messageId}/hostedContents/{hostedContentId}, /chats/{id} |
The mgt-chat
component consists of one or more subcomponents that might require other permissions than the ones listed previously. For more information, see the documentation for each subcomponent:
The mgt-chat
component uses the global authentication provider described in the authentication documentation.
The mgt-chat
component caches chat messages and related metadata.
The mgt-chat
component doesn't expose any localization variables.
mgt-chat
component doesn't support the same chatId
being used in multiple instances of the component or across multiple tabs.mgt-chat
component doesn't support theming and won't respect browsers preferences.Eventi
19 nov, 23 - 21 nov, 23
Partecipa alle sessioni online di Microsoft Ignite create per espandere le tue competenze e aiutarti a risolvere i problemi complessi di oggi.
Iscriviti subito