IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
All Data Structures Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
V2TIMUserFullInfoabstract
Swift - V2TIMUserFullInfo
Swift

Class V2TIMUser​Full​Info

public class V2TIMUserFullInfo : V2TIMUserInfo  

Detail profile

V2TIMUserFullInfo V2TIMUserFullInfo V2TIMUserInfo V2TIMUserInfo V2TIMUserFullInfo->V2TIMUserInfo

Superclass

V2TIMUserInfo

Definition of user profile

Initializers

init()

public override init()  

Properties

description

public override var description: String  

self​Signature

public var selfSignature: String?  

Bio

gender

public var gender: V2TIMGender  

Gender

role

public var role: UInt  

Role

level

public var level: UInt  

Level

birthday

public var birthday: UInt  

Birthday

allow​Type

public var allowType: V2TIMFriendAllowType  

Friend verification method

custom​Info

public var customInfo: Dictionary<String, Data>?  

Custom fields

You need to configure custom fields in the console first (Configuration -> Custom User Field). Then you can call this API to set the custom fields. You don't need to add the Tag_Profile_Custom_ prefix for keys.