// 通过关键字、群id搜索群成员
GroupMemberSearchParam param = new GroupMemberSearchParam
{
group_search_member_params_groupid_list = new List<string>
{
"group_id"
},
group_search_member_params_keyword_list = new List<string>
{
"关键词1"
},
group_search_member_params_field_list = new List<TIMGroupMemberSearchFieldKey>
{
TIMGroupMemberSearchFieldKey.kTIMGroupMemberSearchFieldKey_Identifier,
TIMGroupMemberSearchFieldKey.kTIMGroupMemberSearchFieldKey_NikeName,
TIMGroupMemberSearchFieldKey.kTIMGroupMemberSearchFieldKey_Remark,
TIMGroupMemberSearchFieldKey.kTIMGroupMemberSearchFieldKey_NameCard,
}
};
TIMResult res = TencentIMSDK.GroupSearchGroupMembers(param, (int code, string desc, List<GroupGetOnlineMemberCountResult> result, string user_data)=>{
// 处理异步逻辑
});
本页内容是否解决了您的问题?