获取好友列表
接口
kotlin
suspend fun fetchFriendList(): List<BimUserInfo>
suspend fun fetchFriendApplyList(): BimFriendApply代码示例
kotlin
val friends = BimImManager.getInstance().friendService.fetchFriendList()
println("friends=${friends.size}")fetchFriendApplyList() 返回包含 applyings 和 approves 的 BimFriendApply,不是列表。关系变化通过 BimFriendListener 表达。
