isGroupCallingMessage static method
Implementation
static isGroupCallingMessage(V2TimMessage message) {
final isGroup = message.groupID != null;
final isCustomMessage =
message.elemType == MessageElemType.V2TIM_ELEM_TYPE_CUSTOM;
if (isCustomMessage) {
final customElemData = message.customElem?.data ?? "";
return isCallingData(customElemData) && isGroup;
}
return false;
}