onUserStatusChanged method

void onUserStatusChanged(
  1. List<V2TimUserStatus> userStatusList
)

Callback for user status change function(V2TimMessage)

Implementation

void onUserStatusChanged(List<V2TimUserStatus> userStatusList) {
  userStatusChangeSet = userStatusList.map((e) => e.userID).toSet();

  notifyListener(TencentCloudChatMessageDataKeys.userStatusChange as T);
}