setSelfInfo method

Future<V2TimCallback> setSelfInfo({
  1. String? userID,
  2. String? nickName,
  3. String? faceUrl,
  4. String? selfSignature,
  5. int? gender,
  6. int? allowType,
  7. Map<String, String>? customInfo,
})

修改个人资料

Implementation

Future<V2TimCallback> setSelfInfo({
  String? userID,
  String? nickName,
  String? faceUrl,
  String? selfSignature,
  int? gender,
  int? allowType,
  Map<String, String>? customInfo,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "setSelfInfo",
        buildParam(
          {
            "userID": userID,
            "nickName": nickName,
            "faceUrl": faceUrl,
            "selfSignature": selfSignature,
            "gender": gender,
            "allowType": allowType,
            "customInfo": customInfo
          },
        ),
      ),
    ),
  );
}