getRoleInChat

fun getRoleInChat(chatId: String, userId: String, callback: IResultCallback<KIMCoreChatMember>)

查询指定用户在指定群中的角色

注意:本接口需要等 KIMCore.connectWithToken成功之后才能调用

Parameters

chatId

群组id

userId

查找的用户id

callback