endChat

open fun endChat(forceClose: Boolean = false)

Ends the current chat session.

Parameters

forceClose

When true, the chat is terminated immediately. When false, the chat ends gracefully.