inactivateConversation() for LWC for Lightning Experience

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

NameTypeDescription
recordIdStringThe ID of the record for the Messaging session.

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