inactivateConversation() for LWC for Lightning Experience

Suspends the conversation. This method works only in Lightning console apps.

Arguments 

NameTypeDescription
recordIdStringThe ID of the record for the Messaging session.

Response 

Returns a Promise. Success resolves to true. The Promise is rejected if there’s an error.