setSelfInfo method

Future<V2TimCallback> setSelfInfo({
  1. String? userID,
  2. String? nickName,
  3. String? faceUrl,
  4. String? signature,
  5. int? gender,
  6. int? allowType,
  7. int? role,
  8. int? level,
  9. int? birthday,
})

Implementation

Future<V2TimCallback> setSelfInfo(
    {String? userID,
    String? nickName,
    String? faceUrl,
    String? signature,
    int? gender,
    int? allowType,
    int? role,
    int? level,
    int? birthday}) async {
  V2TimUserFullInfo info = V2TimUserFullInfo(
      userID: userID,
      nickName: nickName,
      faceUrl: faceUrl,
      selfSignature: signature,
      gender: gender,
      allowType: allowType,
      role: role,
      level: level,
      birthday: birthday);
  V2TimCallback res = await _manager.setSelfInfo(userFullInfo: info);
  return res;
}