createFaceMessage method

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

Implementation

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createFaceMessage({
  required int index,
  required String data,
}) async {
  return createMessage(type: "face", params: {
    "index": index,
    "data": data,
  });
}