onChatThreadDestroy property
final
Occurs when a message thread is destroyed.
Each member of the group to which the message thread belongs can receive the callback.
Implementation
final void Function(
ChatThreadEvent event,
)? onChatThreadDestroy;