NIMTeam Class Reference

Inherits from NSObject
Declared in NIMTeam.h

Overview

群组信息

  teamId

群ID

@property (nullable, nonatomic, copy, readonly) NSString *teamId

Discussion

群ID

Declared In

NIMTeam.h

  teamName

群名称

@property (nullable, nonatomic, copy) NSString *teamName

Discussion

群名称

Declared In

NIMTeam.h

  avatarUrl

群头像

@property (nullable, nonatomic, copy) NSString *avatarUrl

Discussion

群头像

Declared In

NIMTeam.h

  thumbAvatarUrl

群缩略头像

@property (nullable, nonatomic, copy) NSString *thumbAvatarUrl

Discussion

群缩略头像

仅适用于使用云信上传服务进行上传的资源,否则无效。

Declared In

NIMTeam.h

  type

群类型

@property (nonatomic, assign, readonly) NIMTeamType type

Discussion

群类型

Declared In

NIMTeam.h

  owner

群拥有者ID

@property (nullable, nonatomic, copy, readonly) NSString *owner

Discussion

群拥有者ID

普通群拥有者就是群创建者,但是高级群可以进行拥有信息的转让

Declared In

NIMTeam.h

  intro

群介绍

@property (nullable, nonatomic, copy) NSString *intro

Discussion

群介绍

Declared In

NIMTeam.h

  announcement

群公告

@property (nullable, nonatomic, copy) NSString *announcement

Discussion

群公告

Declared In

NIMTeam.h

  memberNumber

群成员人数

@property (nonatomic, assign, readonly) NSInteger memberNumber

Discussion

群成员人数

这个值表示是上次登录后同步下来群成员数据,并不实时变化,必要时需要调用fetchTeamInfo:completion:进行刷新

Declared In

NIMTeam.h

  level

群等级

@property (nonatomic, assign, readonly) NSInteger level

Discussion

群等级

目前群人数主要是限制群人数上限

Declared In

NIMTeam.h

  createTime

群创建时间

@property (nonatomic, assign, readonly) NSTimeInterval createTime

Discussion

群创建时间

Declared In

NIMTeam.h

  joinMode

群验证方式

@property (nonatomic, assign) NIMTeamJoinMode joinMode

Discussion

群验证方式

只有高级群有效

Declared In

NIMTeam.h

  inviteMode

群邀请权限

@property (nonatomic, assign) NIMTeamInviteMode inviteMode

Discussion

群邀请权限

只有高级群,超大群有效

Declared In

NIMTeam.h

  beInviteMode

被邀请模式

@property (nonatomic, assign) NIMTeamBeInviteMode beInviteMode

Discussion

被邀请模式

只有高级群,超大群有效

Declared In

NIMTeam.h

  updateInfoMode

修改群信息权限

@property (nonatomic, assign) NIMTeamUpdateInfoMode updateInfoMode

Discussion

修改群信息权限

只有高级群有效

Declared In

NIMTeam.h

  updateClientCustomMode

修改群客户端自定义字段权限

@property (nonatomic, assign) NIMTeamUpdateClientCustomMode updateClientCustomMode

Discussion

修改群客户端自定义字段权限

只有高级群有效

Declared In

NIMTeam.h

  serverCustomInfo

群服务端自定义信息

@property (nullable, nonatomic, copy, readonly) NSString *serverCustomInfo

Discussion

群服务端自定义信息

应用方可以自行拓展这个字段做个性化配置,客户端不可以修改这个字段

Declared In

NIMTeam.h

  clientCustomInfo

群客户端自定义信息

@property (nullable, nonatomic, copy, readonly) NSString *clientCustomInfo

Discussion

群客户端自定义信息

应用方可以自行拓展这个字段做个性化配置,客户端可以修改这个字段

Declared In

NIMTeam.h

  notifyStateForNewMsg

群消息通知状态

@property (nonatomic, assign, readonly) NIMTeamNotifyState notifyStateForNewMsg

Discussion

群消息通知状态

这个设置影响群消息的 APNS 推送

Declared In

NIMTeam.h

– inAllMuteMode

群组是否正在全员禁言

- (BOOL)inAllMuteMode

Discussion

群组是否正在全员禁言

只有高级群、超大群有效

Declared In

NIMTeam.h