createTextAtMessage method

  1. @override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createTextAtMessage({
  1. required String text,
  2. required List<String> atUserList,
})
override

Implementation

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