53 static void RegSpecialRelationshipChangedCb(
const SpecialRelationshipChangedCallback& cb,
const std::string& json_extension =
"");
65 static bool SetBlack(
const std::string& accid,
bool set_black,
const SetBlackCallback& cb,
const std::string& json_extension =
"");
77 static bool SetMute(
const std::string& accid,
bool set_mute,
const SetMuteCallback& cb,
const std::string& json_extension =
"");
86 static void GetMutelist(
const GetMuteListCallback& cb,
const std::string& json_extension =
"");
94 static void GetBlacklist(
const GetBlackListCallback& cb,
const std::string& json_extension =
"");
102 static void RegUserNameCardChangedCb(
const UserNameCardChangedCallback& cb,
const std::string& json_extension =
"");
117 static bool GetUserNameCard(
const std::list<std::string>& accids,
const GetUserNameCardCallback& cb,
const std::string& json_extension =
"");
133 static bool GetUserNameCardOnline(
const std::list<std::string>& accids,
134 const GetUserNameCardCallback& cb,
135 const std::string& json_extension =
"");
157 static bool QueryUserListByKeyword(
const std::string& keyword,
const GetUserNameCardCallback& cb,
const std::string& json_extension =
"");
182 static bool ParseSyncSpecialRelationshipChange(
const SpecialRelationshipChangeEvent& change_event, std::list<BlackMuteListInfo>& black_mute_list);
191 static void UpdatePushToken(
const std::string& cer_name,
const std::string& token,
int type);
197 static void UnregUserCb();
std::function< void(NIMResCode res_code, const std::string &accid, bool set_opt) SetRelationCallback)
设置黑名单\静音列表回调模板
Definition nim_cpp_user.h:31