leaveChatThread method
Implementation
Future<void> leaveChatThread() async {
try {
await ChatUIKit.instance.leaveChatThread(
chatThreadId: thread?.threadId ?? model?.thread?.threadId ?? '',
);
} catch (e) {
chatPrint('leave thread error: $e');
}
}