ChatThreadEventHandler constructor Null safety
- {void onChatThreadCreate(
- ChatThreadEvent event
- void onChatThreadDestroy(
- ChatThreadEvent event
- void onChatThreadUpdate(
- ChatThreadEvent event
- void onUserKickOutOfChatThread(
- ChatThreadEvent event
The message thread listener callback
Param onChatThreadCreate A message thread is created callback.
Param onChatThreadDestroy A message thread is destroyed callback.
Param onChatThreadUpdate A message thread is updated callback.
Param onUserKickOutOfChatThread Current user is removed from the message thread by the group owner or a group admin to which the message thread belongs callback.
Implementation
ChatThreadEventHandler({
this.onChatThreadCreate,
this.onChatThreadDestroy,
this.onChatThreadUpdate,
this.onUserKickOutOfChatThread,
});