@microsoft/omnichannel-chat-sdk
Version:
Microsoft Omnichannel Chat SDK
15 lines (14 loc) • 573 B
TypeScript
import IChatToken from "../external/IC3Adapter/IChatToken";
/**
* Context of a live chat conversation. It contains all the necessary metadata to interact with a conversation.
*
* chatToken: Omnichannel chat metadata to interact with message/voice client
* requestId: Unique ID used to retrieve a conversation
* reconnectId: Unique ID used to retrieve conversation for chat reconnect or persistent chat tied to the user
*/
export default interface LiveChatContext {
chatToken: IChatToken;
requestId: string;
reconnectId?: string;
sessionId?: string;
}