Spotter conversation sharing in embedded views
Embedding application users can now share a saved Spotter conversation with other users and groups directly from the embedded interface. Recipients can view the shared conversation in a read-only view.
Conversation sharing is turned off by default in embedded views. To enable it, set enableShareConversation to true in the spotterShareConversationConfig object.
- Interface customization settings
-
The SDK also provides the following controls for conversation sharing:
-
SpotterShareConversationConfig
Includes object properties for enabling conversation sharing, label and text overrides for the share button, share modal, recipient picker, and the read-only shared view. For more information, see Customize conversation sharing experience. -
sharedConversationId
Allows passing conversation ID to the SpotterEmbed when the sharing link is generated for the recipient users in the embedded app. For more information, see Conversation sharing link
-
- New action IDs
-
-
Action.SpotterShareConversationButtonHeaderfor Share button in the Spotter conversation header. -
Action.SpotterShareConversationMenuItemSidebarfor Share menu action in the chat history panel in the sidebar. -
Action.SpotterShareIncludeNewMessagesCheckboxfor theinclude new messages since last shared versioncheckbox in the share modal. -
SpotterSharedConversationBannerDismissButtonfor the dismiss button of the data access banner displayed in the shared conversation view. -
Action.SpotterShareUpToCurrentInfofor the share modal footer note. -
Action.SpotterSharedConversationBannerfor the data access banner shown when a recipient opens a shared conversation. -
Action.SpotterShareStaleInfoBannerDismissButtonfor the banner that shows the message, "This data may have changed since the last time you had a chat." -
Action.SpotterSharedConversationExitButtonfor Exit button in the read-only view of the shared conversation.
-
- New host events
-
-
HostEvent.ShareSpotterConversation
Opens the Spotter share conversation modal for the given conversation ID. -
HostEvent.ExitSpotterSharedConversation
Exits the read-only view of the shared conversation. -
HostEvent.CloseSpotterShareConversation
Closes the Spotter share conversation modal.
-
- New embed events
-
-
EmbedEvent.SpotterConversationShared
Emitted when a Spotter conversation is shared with the intended recipients. -
EmbedEvent.SpotterConversationShareRevoked
Emitted when access to a shared Spotter conversation is revoked. -
EmbedEvent.SpotterSharedConversationViewed
Emitted when a recipient opens a shared Spotter conversation. -
EmbedEvent.SpotterShareConversationButtonHeaderClicked
Emitted when the Share button in the conversation header is clicked. -
EmbedEvent.SpotterShareConversationMenuItemSidebarClicked
Emitted when the Share action in the menu displayed for a chat in the chat history sidebar. -
SpotterShareIncludeNewMessagesCheckboxToggled
Emitted when the user toggles the "include new messages since last shared version" checkbox in the share modal. -
EmbedEvent.SpotterShareModalCancelButtonClicked
Emitted when the Cancel button in the share conversation modal is clicked. -
EmbedEvent.SpotterShareStaleInfoBannerDismissed+ Emitted when the user dismisses the banner that shows the text, "This data may have changed since the last time you had a chat." -
EmbedEvent.SpotterSharedConversationExitButtonClicked
Emitted when a user exits the shared conversation read-only view.
-