Custom End Conversation Button for Salesforce Enhanced Channels

endConversation() method from lightning-conversation-toolkit-api in the Salesforce Lightning Web Component can be used to create custom End Conversation Button for Salesforce Enhanced Channels like Messaging for In-App and Web. Sample Lightning Web Component: HTML: JavaScript: js-meta.xml: sendTextMessage() and setAgentInput() methods from Salesforce lightning-conversation-toolkit-api can be used in the Lightning Web Component to send message and … Continue reading Custom End Conversation Button for Salesforce Enhanced Channels