User

iOS User APIs

Modify nickname

client?.setDisplayName(displayName, completion: { response in })

Parameters:

NameTypeDescriptionRequired

displayName

string

new nick name

true

Modify profile image

client?.setAvatarUrl(URL.init(string: avatarUrl), completion: { response in })

Parameters:

NameTypeDescriptionRequired

avatarUrl

string

new profile image URL

true

Query profile information

client?.profile(forUser: user_id, completion: { response in })

Parameters:

NameTypeDescriptionRequired

user_id

string

user id

true

Returns:

NameTypeDescription

displayname

string

user nickname string

avatar_url

String

user profile image URL string

Last updated