1#ifndef V2_NIM_TEAM_SERVICE_H
2#define V2_NIM_TEAM_SERVICE_H
Definition: ne_stl_continuous_container.h:15
Definition: ne_stl_string.h:19
Definition: ne_stl_map.h:15
通用成功
Definition: v2_nim_def_callback.hpp:7
群组服务
Definition: v2_nim_team_service.hpp:15
virtual void applyJoinTeam(nstd::string teamId, V2NIMTeamType teamType, nstd::string postscript, V2NIMSuccessCallback< V2NIMTeam > success, V2NIMFailureCallback failure)=0
申请加入群组
virtual void addTeamMembersFollow(const nstd::string &teamId, V2NIMTeamType teamType, const nstd::vector< nstd::string > &accountIds, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
添加特别关注群成员列表
virtual void createTeam(V2NIMCreateTeamParams createTeamParams, nstd::vector< nstd::string > inviteeAccountIds, nstd::string postscript, V2NIMAntispamConfig antispamConfig, V2NIMSuccessCallback< V2NIMCreateTeamResult > success, V2NIMFailureCallback failure)=0
创建群组
virtual void transferTeamOwner(nstd::string teamId, V2NIMTeamType teamType, nstd::string accountId, bool leave, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
移交群主
virtual void searchTeamByKeyword(nstd::string keyword, V2NIMSuccessCallback< nstd::vector< V2NIMTeam > > success, V2NIMFailureCallback failure)=0
根据关键字搜索群组,混合搜索高级群和超大群,使用 LIKE 方式匹配,只搜索群名称
virtual void updateTeamInfo(nstd::string teamId, V2NIMTeamType teamType, V2NIMUpdateTeamInfoParams updateTeamInfoParams, V2NIMAntispamConfig antispamConfig, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
修改群组信息
virtual void setTeamChatBannedMode(nstd::string teamId, V2NIMTeamType teamType, V2NIMTeamChatBannedMode chatBannedMode, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
设置群组禁言模式
virtual void clearAllTeamJoinActionInfo(const V2NIMSuccessCallback< void > &success, const V2NIMFailureCallback &failure)=0
virtual void acceptJoinApplication(V2NIMTeamJoinActionInfo applicationInfo, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
接受入群申请
virtual void removeTeamMembersFollow(const nstd::string &teamId, V2NIMTeamType teamType, const nstd::vector< nstd::string > &accountIds, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
移除特别关注群成员列表
virtual void rejectJoinApplication(V2NIMTeamJoinActionInfo applicationInfo, nstd::string postscript, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
拒绝入群申请
virtual void dismissTeam(nstd::string teamId, V2NIMTeamType teamType, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
解散群组
virtual void getJoinedTeamList(nstd::vector< V2NIMTeamType > teamTypes, V2NIMSuccessCallback< nstd::vector< V2NIMTeam > > success, V2NIMFailureCallback failure)=0
获取当前已经加入的群组列表
virtual void addTeamListener(V2NIMTeamListener listener)=0
添加群组监听器
virtual void kickMember(nstd::string teamId, V2NIMTeamType teamType, nstd::vector< nstd::string > memberAccountIds, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
踢出群组成员
virtual void getTeamMemberListByIds(nstd::string teamId, V2NIMTeamType teamType, nstd::vector< nstd::string > accountIds, V2NIMSuccessCallback< nstd::vector< V2NIMTeamMember > > success, V2NIMFailureCallback failure)=0
根据账号 ID 列表获取群组成员列表
virtual void inviteMember(nstd::string teamId, V2NIMTeamType teamType, nstd::vector< nstd::string > inviteeAccountIds, nstd::string postscript, V2NIMSuccessCallback< nstd::vector< nstd::string > > success, V2NIMFailureCallback failure)=0
邀请成员加入群组
virtual void leaveTeam(nstd::string teamId, V2NIMTeamType teamType, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
退出群组
virtual void removeTeamListener(V2NIMTeamListener listener)=0
移除群组监听器
virtual void getTeamInfoByIds(nstd::vector< nstd::string > teamIds, V2NIMTeamType teamType, V2NIMSuccessCallback< nstd::vector< V2NIMTeam > > success, V2NIMFailureCallback failure)=0
根据群组 ID 获取群组信息
virtual void getTeamJoinActionInfoList(V2NIMTeamJoinActionInfoQueryOption option, V2NIMSuccessCallback< V2NIMTeamJoinActionInfoResult > success, V2NIMFailureCallback failure)=0
获取群加入相关信息
virtual void updateTeamMemberRole(nstd::string teamId, V2NIMTeamType teamType, nstd::vector< nstd::string > memberAccountId, V2NIMTeamMemberRole memberRole, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
设置成员角色
virtual uint32_t getJoinedTeamCount(nstd::vector< V2NIMTeamType > teamTypes)=0
获取当前已经加入的群组数量
virtual void deleteTeamJoinActionInfo(const V2NIMTeamJoinActionInfo &applicationInfo, const V2NIMSuccessCallback< void > &success, const V2NIMFailureCallback &failure)=0
virtual void updateTeamMemberNick(nstd::string teamId, V2NIMTeamType teamType, nstd::string accountId, nstd::string teamNick, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
修改群成员昵称
virtual void acceptInvitation(V2NIMTeamJoinActionInfo invitationInfo, V2NIMSuccessCallback< V2NIMTeam > success, V2NIMFailureCallback failure)=0
同意邀请入群
virtual void updateSelfTeamMemberInfo(nstd::string teamId, V2NIMTeamType teamType, V2NIMUpdateSelfMemberInfoParams memberInfoParams, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
修改自己的群成员信息
virtual void getTeamMemberList(nstd::string teamId, V2NIMTeamType teamType, V2NIMTeamMemberQueryOption queryOption, V2NIMSuccessCallback< V2NIMTeamMemberListResult > success, V2NIMFailureCallback failure)=0
获取群组成员列表
virtual void rejectInvitation(V2NIMTeamJoinActionInfo invitationInfo, nstd::string postscript, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
拒绝邀请入群
virtual void searchTeamMembers(V2NIMTeamMemberSearchOption option, V2NIMSuccessCallback< V2NIMTeamMemberListResult > success, V2NIMFailureCallback failure)=0
根据关键字搜索群组成员
virtual void getTeamInfo(nstd::string teamId, V2NIMTeamType teamType, V2NIMSuccessCallback< V2NIMTeam > success, V2NIMFailureCallback failure)=0
获取群组信息
virtual void getTeamMemberInvitor(nstd::string teamId, V2NIMTeamType teamType, nstd::vector< nstd::string > accountIds, V2NIMSuccessCallback< nstd::map< nstd::string, nstd::string > > success, V2NIMFailureCallback failure)=0
根据账号 ID 列表获取群组成员邀请人
virtual void setTeamMemberChatBannedStatus(nstd::string teamId, V2NIMTeamType teamType, nstd::string accountId, bool chatBanned, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
设置群组成员聊天禁言状态
Definition: v2_nim_ai_service.hpp:4
V2NIMTeamMemberRole
Definition: v2_nim_def_enum.hpp:1321
V2NIMTeamChatBannedMode
Definition: v2_nim_def_enum.hpp:1305
V2NIMTeamType
Definition: v2_nim_def_enum.hpp:1266
Definition: ne_stl_bind.h:132
Definition: v2_nim_def_struct.hpp:1535
Definition: v2_nim_def_struct.hpp:1453
Definition: v2_nim_def_struct.hpp:1518
Definition: v2_nim_def_struct.hpp:1662
Definition: v2_nim_def_callback.hpp:142
Definition: v2_nim_def_struct.hpp:1482
Definition: v2_nim_def_struct.hpp:1673
Definition: v2_nim_def_struct.hpp:1502
Definition: v2_nim_def_struct.hpp:212