Class V2TIMFriendshipManager
设置指定好友资料 Methods
setFriendInfo
Parameters
userID: string
Optional friendRemark: string
Optional friendCustomInfo: StringMap
Other Methods
addFriend
Parameters
userID: string
Optional remark: string
Optional friendGroup: string
Optional addWording: string
Optional addSource: string
addFriendsToFriendGroup
Parameters
groupName: string
userIDList: string[]
createFriendGroup
Parameters
groupName: string
Optional userIDList: string[]
deleteFriendGroup
- deleteFriendGroup(groupNameList?: string[]): Promise<V2TimCallback>
Parameters
Optional groupNameList: string[]
deleteFriendsFromFriendGroup
Parameters
groupName: string
userIDList: string[]
getFriendGroups
Parameters
Optional groupNameList: string[]
renameFriendGroup
- renameFriendGroup(oldName: string, newName: string): Promise<V2TimCallback>
Parameters
oldName: string
newName: string
添加关系链监听器