SetFriendInfoParams

public final class SetFriendInfoParams

Set friend info parameters.

Usage Example:

val params = SetFriendInfoParams("userId").apply {
remark = "Remark name"
extProfile = mapOf("key1" to "value1")
}
NCEngine.user.setFriendInfo(params) { errorKeys, error ->
// ...
}

Parameters

userId

friend user ID

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private Map<String, String> extProfile

Extended info.

Link copied to clipboard
private String remark

Friend remark name, at most 64 characters, Not supported pure spaces, Not Pass or Is null/empty When Clear Remark name

Link copied to clipboard
private final String userId

Functions

Link copied to clipboard
public final Map<String, String> getExtProfile()

Extended info.

Link copied to clipboard
public final String getRemark()

Friend remark name, at most 64 characters, Not supported pure spaces, Not Pass or Is null/empty When Clear Remark name

Link copied to clipboard
public final String getUserId()
Link copied to clipboard
public final Unit setExtProfile(Map<String, String> extProfile)

Extended info.

Link copied to clipboard
public final Unit setRemark(String remark)

Friend remark name, at most 64 characters, Not supported pure spaces, Not Pass or Is null/empty When Clear Remark name