createAtSignedGroupMessage method

  1. @override
Future<V2TimValueCallback<V2TimMessage>> createAtSignedGroupMessage({
  1. required String createdMsgID,
  2. required List<String> atUserList,
})
override

Implementation

@override
Future<V2TimValueCallback<V2TimMessage>> createAtSignedGroupMessage({
  required String createdMsgID,
  required List<String> atUserList,
}) async {
  Map<String, dynamic> param = {
    "atUserList": atUserList,
    "createdMsgID": createdMsgID,
  };
  var resp = V2TimValueCallback<V2TimMessage>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "createAtSignedGroupMessage",
        buildMessageMangerParam(
          param,
        ),
      ),
    ),
  );
  log("createAtSignedGroupMessage", param, resp.toLogString());
  return resp;
}