Editar

Compartir a través de


getConversationId

Omnichannel for Customer Service offers a suite of capabilities that extend the power of Dynamics 365 Customer Service Enterprise to enable organizations to instantly connect and engage with their customers across digital messaging channels. An additional license is required to access Omnichannel for Customer Service. For more information, see the Dynamics 365 Customer Service pricing overview and Dynamics 365 Customer Service pricing plan pages.

This function can be called to fetch the unique GUID of the current ongoing conversation in a session. The conversation ID remains the same after the conversation is closed. The identifier can be used to fetch the conversation record programmatically.

Syntax

Microsoft.Omnichannel.getConversationId();

Parameters

None

Return value

Returns a promise resolved with currently ongoing conversation ID.

Example

Microsoft.Omnichannel.getConversationId();

Live chat SDK reference
Omnichannel JavaScript API reference
getConversations
linkToConversation
unlinkFromConversation
openConversation
sendMessageToConversation