onReceiveSysMessage static method

void onReceiveSysMessage(
  1. String groupId,
  2. String customDate
)

系统消息

Implementation

static void onReceiveSysMessage(String groupId, String customDate) {
  IGroupMsgModel? iGroupMsgModel;
  for (var value in sysImParsers) {
    iGroupMsgModel = value.parserSys(groupId, customDate);
    if (iGroupMsgModel != null) {
      continue;
    }
  }
  for (var value1 in listSysNoticeListener) {
    if (iGroupMsgModel != null) {
      value1.onReceiveNewMessage(iGroupMsgModel);
    }
  }
}