|
typedef std::function< void(const TeamEvent &team_event)> | TeamEventCallback |
| 群组事件通知回调模板
|
|
typedef std::function< void(int team_count, const std::list< std::string > &team_id_list)> | QueryAllMyTeamsCallback |
| 查询本人所有群ID回调模板
|
|
typedef std::function< void(int team_count, const std::list< nim::TeamInfo > &team_info_list)> | QueryAllMyTeamsInfoCallback |
| 查询本人所有群信息回调模板
|
|
typedef std::function< void(int count, const std::list< nim::TeamMemberProperty > &all_my_member_info_list)> | QueryMyAllMemberInfosCallback |
| 查询本人所有群里我的成员信息回调模板
|
|
typedef std::function< void(const std::string &tid, int member_count, const std::list< TeamMemberProperty > &props)> | QueryTeamMembersCallback |
| 查询指定群组全部成员信息回调模板
|
|
typedef std::function< void(const TeamMemberProperty &team_member_property)> | QueryTeamMemberCallback |
| 查询指定群成员信息回调模板
|
|
typedef std::function< void(const std::string &tid, const TeamInfo &result)> | QueryTeamInfoCallback |
| 查询指定群信息回调模板
|
|
typedef std::function< void(NIMResCode error_code, const std::string &tid, const std::list< TeamMemberProperty > &team_member_propertys)> | QueryTeamMembersOnlineCallback |
| 查询群成员信息回调模板
|
|
typedef std::function< void(NIMResCode, const std::string &, const std::map< std::string, std::string > &)> | QueryTeamMembersInvitorCallback |
| 查询群成员邀请人accid 列表回调模板
|
|
typedef QueryAllMyTeamsInfoCallback | QueryTeamsInfoCallback |
|
typedef QueryAllMyTeamsInfoCallback | GetTeamInfoBatchSFTransCallback |
| 查询所有群信息回调模板 顺丰专用
|
|
typedef std::function< void(const std::list< std::string > &success_ids, const std::list< std::string > &failure_ids)> | UpdateTInfoLocalCallback |
| 更新本地缓存回调模板顺丰专用
|
|
typedef std::function< void(const std::string &tid, const std::list< std::string > &success_ids, const std::list< std::string > &failure_ids, const std::list< std::string > &ignored_ids)> | TeamMsgAckReadCallback |
|
typedef std::function< void(NIMResCode error_code, const std::list< nim::TeamInfo > &team_info_list, const std::list< std::string > &fail_list)> | GetTeamInfoListCallback |
| 查询给定的一组群ID详细信息的回调模板
|
|
typedef std::function< void(const TeamMemberSerachResult &result)> | TeamMemberSearchCallback |
| 搜索群成员回调模板
|
|
|
static void | RegTeamEventCb (const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | CreateTeamAsync (const TeamInfo &team_info, const std::list< std::string > &ids, const std::string &invitation_postscript, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | CreateTeamAsyncEx (const TeamInfo &team_info, const std::list< std::string > &ids, const std::string &invitation_postscript, const TeamEventCallback &callback, const std::string &json_extension="") |
|
static bool | InviteAsync (const std::string &tid, const std::list< std::string > &ids, const std::string &invitation_postscript, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | InviteAsync2 (const std::string &tid, const std::list< std::string > &ids, const std::string &invitation_postscript, const std::string &invitation_attachment, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | KickAsync (const std::string &tid, const std::list< std::string > &ids, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | LeaveAsync (const std::string &tid, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | DismissAsync (const std::string &tid, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | UpdateTeamInfoAsync (const std::string &tid, const TeamInfo &team_info, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | ApplyJoinAsync (const std::string &tid, const std::string &reason, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | PassJoinApplyAsync (const std::string &tid, const std::string &applicant_id, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | RejectJoinApplyAsync (const std::string &tid, const std::string &applicant_id, const std::string &reason, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | AddManagersAsync (const std::string &tid, const std::list< std::string > &ids, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | RemoveManagersAsync (const std::string &tid, const std::list< std::string > &ids, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | TransferTeamAsync (const std::string &tid, const std::string &new_owner_id, bool is_leave, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | UpdateMyPropertyAsync (const TeamMemberProperty &prop, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | AddTeamMembersFollow (const std::string &tid, const std::vector< std::string > &account_ids, const TeamEventCallback &cb) |
|
static bool | RemoveTeamMembersFollow (const std::string &tid, const std::vector< std::string > &account_ids, const TeamEventCallback &cb) |
|
static bool | UpdateOtherNickAsync (const TeamMemberProperty &prop, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | AcceptInvitationAsync (const std::string &tid, const std::string &invitor_id, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | RejectInvitationAsync (const std::string &tid, const std::string &invitor_id, const std::string &reason, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static void | QueryAllMyTeamsAsync (const QueryAllMyTeamsCallback &cb, const std::string &json_extension="") |
|
static void | QueryAllMyTeamsInfoAsync (const QueryAllMyTeamsInfoCallback &cb, const std::string &json_extension="") |
|
static void | QueryMyAllMemberInfosAsync (const QueryMyAllMemberInfosCallback &cb, const std::string &json_extension="") |
|
static bool | QueryTeamMembersAsync (const std::string &tid, const QueryTeamMembersCallback &cb, const std::string &json_extension="") |
|
static bool | QueryTeamMemberAsync (const std::string &tid, const std::string &id, const QueryTeamMemberCallback &cb, const std::string &json_extension="") |
|
static bool | GetTeamMemberList (const std::string &tid, const TeamMemberRoleTypeSearchOption &option, const TeamMemberSearchCallback &cb) |
|
static TeamMemberProperty | QueryTeamMemberBlock (const std::string &tid, const std::string &id) |
|
static bool | QueryTeamInfoAsync (const std::string &tid, const QueryTeamInfoCallback &cb, const std::string &json_extension="") |
|
static TeamInfo | QueryTeamInfoBlock (const std::string &tid) |
|
static bool | QueryTeamInfoOnlineAsync (const std::string &tid, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | ParseTeamInfo (const std::string &json_team_info, TeamInfo &team_info) |
|
static void | UnregTeamCb () |
|
static bool | MuteMemberAsync (const std::string &tid, const std::string &member_id, bool set_mute, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static bool | QueryMuteListOnlineAsync (const std::string &tid, const QueryTeamMembersOnlineCallback &cb, const std::string &json_extension="") |
|
static bool | MuteAsync (const std::string &tid, bool set_mute, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static void | TeamMsgAckRead (const std::string &tid, const std::list< IMMessage > &msgs, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static void | TeamMsgAckReadEx (const std::string &tid, const std::list< IMMessage > &msgs, const TeamMsgAckReadCallback &cb, const std::string &json_extension="") |
|
static void | TeamMsgQueryUnreadList (const std::string &tid, const IMMessage &msg, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static void | TeamMsgQueryUnreadList (const std::string &tid, const IMMessage &msg, const std::list< std::string > &accids, const TeamEventCallback &cb, const std::string &json_extension="") |
|
static void | QueryTeamMembersInvitor (const std::string &tid, const std::list< std::string > &members, const QueryTeamMembersInvitorCallback &cb) |
|
static bool | QueryTeamInfoByKeywordAsync (const std::string &keyword, const QueryTeamsInfoCallback &cb, const std::string &json_extension="") |
|
static void | UpdateTInfoLocal (const std::list< TeamInfo > &team_infos, const UpdateTInfoLocalCallback &cb, const std::string &json_extension="") |
|
static void | GetTeamInfoBatchSFTrans (const GetTeamInfoBatchSFTransCallback &cb, uint64_t time_tag=0, const std::string &json_extension="") |
|
static void | GetTeaminfoList (const std::list< std::string > &tid_list, const GetTeamInfoListCallback &cb) |
|
群组功能;主要包括查询群信息、查询群成员信息、加人、踢人等功能