SendGroupMsg static method
发送消息给群组
Implementation
static void SendGroupMsg(int id,String msg) async {
Log.i(tag, "SendGroupMsg id: $id msg: $msg");
if (checkIsOnline()) {
if(checkHasGroup(id)) {
PlatformMethodInvokeHandler.invokeMethod("SendGroupMsg", [id.toString(), msg]);
if(!msg.toLowerCase().startsWith("sos")) {
SendChat(id, msg, 1, 1001);
}
}
}
}