createFaceMessage method

  1. @override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createFaceMessage({
  1. required int index,
  2. required String data,
})
override

Implementation

@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createFaceMessage({
  required int index,
  required String data,
}) async {
  return V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        'createFaceMessage',
        buildMessageMangerParam(
          {"index": index, "data": data},
        ),
      ),
    ),
  );
}