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