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 teamId)
    → Future<NIMResult<void>>
  
  
- 
  会话置顶
  
- 
  addTeamManager(String teamId, NIMTeamType teamType, List<String> memberAccountIds)
    → Future<NIMResult<void>>
  
  
- 
  添加管理员
  
- 
  applyJoinTeam(String teamId, NIMTeamType teamType, {String? postscript})
    → Future<NIMResult<NIMTeam>>
  
  
- 
  申请加入群
  
- 
  dismissTeam(String teamId, NIMTeamType type)
    → Future<bool>
  
  
- 
  解散群,只有创建者有此权限
  
- 
  getJoinedTeamList({List<NIMTeamType>? teamTypes})
    → Future<NIMResult<List<NIMTeam>>>
  
  
- 
  获取当前已经加入的群组列表
  
- 
  getTeamActionsUnreadCount()
    → Future<NIMResult<int>>
  
  
- 
  获取群操作的未读数
  
- 
  getTeamInfo(String teamId, NIMTeamType type)
    → Future<NIMTeam?>
  
  
- 
  查询群资料
  
- 
  getTeamInfoByIds(List<String> teamIds, NIMTeamType type)
    → Future<List<NIMTeam>?>
  
  
- 
  批量查询群资料
  
- 
  getTeamNotify(String teamId)
    → Future<bool>
  
  
- 
  
  
- 
  inviteUser(String teamId, NIMTeamType teamType, List<String> inviteeAccountIds, String? postscript)
    → Future<NIMResult<List<String>>>
  
  
- 
  邀请用户入群
  
- 
  isStickTop(String teamId, NIMTeamType type)
    → Future<bool>
  
  
- 
  会话是否置顶
  
- 
  muteAllMembers(String teamId, bool mute)
    → Future<bool>
  
  
- 
  对整个群禁言、解除禁言,对普通成员生效,只有群组、管理员有权限
  
- 
  queryTeamWithMember(String teamId, String accId)
    → Future<TeamWithMember?>
  
  
- 
  查询群组中用户的资料(当前用户设置)
  
- 
  quitTeam(String teamId, NIMTeamType type)
    → Future<bool>
  
  
- 
  退出群
  
- 
  registerTeamUpdateObserver()
    → Stream<NIMTeam>
  
  
- 
  注册群资料变动监听器
  
- 
  removeStickTop(String teamId)
    → Future<NIMResult<void>>
  
  
- 
  移除置顶
  
- 
  removeTeamManager(String teamId, NIMTeamType teamType, List<String> memberAccountIds)
    → Future<NIMResult<void>>
  
  
- 
  移除管理员
  
- 
  removeTeamMembers(String teamId, NIMTeamType teamType, List<String>? memberAccountIds)
    → Future<NIMResult<void>>
  
  
- 
  移除群成员
  
- 
  setTeamActionInfosRead()
    → void
  
  
- 
  设置群申请已读,调用该方法,历史数据未读数据均标记为已读
  
- 
  updateApplyAgreeMode(String teamId, NIMTeamType type, bool isNeed)
    → Future<bool>
  
  
- 
  更新申请同意
  
- 
  updateBeInviteMode(String teamId, NIMTeamType type, bool isNeed)
    → Future<bool>
  
  
- 
  更新入群模式
  
- 
  updateInviteMode(String teamId, NIMTeamType type, NIMTeamInviteMode inviteMode)
    → Future<bool>
  
  
- 
  更新群邀请模式
  
- 
  updateMemberNick(String teamId, NIMTeamType teamType, String accountId, String teamNick)
    → Future<bool>
  
  
- 
  更新群中,用户的昵称
  
- 
  updateTeamExtension(String teamId, NIMTeamType type, String extension)
    → Future<bool>
  
  
- 
  更新群扩展字段
  
- 
  updateTeamIcon(String teamId, NIMTeamType type, String avatar)
    → Future<bool>
  
  
- 
  更新群头像
  
- 
  updateTeamInfoPrivilege(String teamId, NIMTeamType type, NIMTeamUpdateInfoMode updateInfoMode)
    → Future<bool>
  
  
- 
  更新群资料修改模式
  
- 
  updateTeamIntroduce(String teamId, NIMTeamType type, String introduction)
    → Future<bool>
  
  
- 
  更新群介绍
  
- 
  updateTeamName(String teamId, NIMTeamType type, String name)
    → Future<bool>
  
  
- 
  更新群名
  
- 
  updateTeamNotify(String teamId, bool mute)
    → Future<bool>
  
  
- 
  设置群消息不提醒