TeamRepo class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
addStickTop(String sessionId, String ext)
→ Future<NIMStickTopSessionInfo?>
-
会话置顶
-
addTeamManager(String tid, List<String> members)
→ Future<NIMResult<List<NIMTeamMember>>>
-
添加管理员
-
dismissTeam(String teamId)
→ Future<bool>
-
解散群,只有创建者有此权限
-
getMemberList(String teamId)
→ Future<List<UserInfoWithTeam>?>
-
查询群组中用户的资料
-
getTeamInfo(String teamId)
→ Future<NIMTeam?>
-
查询群资料
-
inviteUser(String teamId, List<String> members)
→ Future<NIMResult<List<String>>>
-
邀请用户入群
-
isStickTop(String teamId)
→ Future<bool>
-
会话是否置顶
-
muteAllMembers(String teamId, bool mute)
→ Future<bool>
-
对整个群禁言、解除禁言,对普通成员生效,只有群组、管理员有权限
-
queryTeamWithMember(String teamId, String accId)
→ Future<TeamWithMember?>
-
查询群组中用户的资料(当前用户设置)
-
quitTeam(String teamId)
→ Future<bool>
-
退出群
-
registerTeamUpdateObserver()
→ Stream<List<NIMTeam>>
-
注册群资料变动监听器
-
removeStickTop(String sessionId, String ext)
→ Future<bool>
-
移除置顶
-
removeTeamManager(String tid, List<String> members)
→ Future<NIMResult<List<NIMTeamMember>>>
-
移除管理员
-
removeTeamMembers(String tid, List<String> members)
→ Future<NIMResult<void>>
-
移除群成员
-
updateBeInviteMode(String teamId, bool isNeed)
→ Future<bool>
-
更新入群模式
-
updateInviteMode(String teamId, NIMTeamInviteModeEnum inviteModeEnum)
→ Future<bool>
-
更新群邀请模式
-
updateMemberNick(String teamId, String accId, String nickname)
→ Future<bool>
-
更新群中,用户的昵称
-
updateTeamExtension(String tid, String extension)
→ Future<bool>
-
更新群扩展字段
-
updateTeamIcon(String teamId, String avatar)
→ Future<bool>
-
更新群头像
-
updateTeamInfoPrivilege(String teamId, NIMTeamUpdateModeEnum updateModeEnum)
→ Future<bool>
-
更新群资料修改模式
-
updateTeamIntroduce(String teamId, String introduction)
→ Future<bool>
-
更新群介绍
-
updateTeamName(String teamId, String name)
→ Future<bool>
-
更新群名
-
updateTeamNotify(String teamId, bool mute)
→ Future<bool>
-
设置群消息不提醒