NIMCreateTeamOption Class Reference

Inherits from NSObject
Declared in NIMCreateTeamOption.h

Overview

创建群选项

  name

群名

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

Discussion

群名

Declared In

NIMCreateTeamOption.h

  type

群类型

@property (nonatomic, assign) NIMTeamType type

Discussion

群类型

默认为普通群

Declared In

NIMCreateTeamOption.h

  avatarUrl

群头像

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

Discussion

群头像

Declared In

NIMCreateTeamOption.h

  intro

群简介

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

Discussion

群简介

Declared In

NIMCreateTeamOption.h

  announcement

群公告

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

Discussion

群公告

Declared In

NIMCreateTeamOption.h

  clientCustomInfo

客户端自定义信息

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

Discussion

客户端自定义信息

Declared In

NIMCreateTeamOption.h

  postscript

邀请他人的附言

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

Discussion

邀请他人的附言

高级群有效,普通群无需附言

Declared In

NIMCreateTeamOption.h

  joinMode

群验证模式

@property (nonatomic, assign) NIMTeamJoinMode joinMode

Discussion

群验证模式

只有高级群有效,默认为 NIMTeamJoinModeNoAuth

Declared In

NIMCreateTeamOption.h

  inviteMode

群邀请权限

@property (nonatomic, assign) NIMTeamInviteMode inviteMode

Discussion

群邀请权限

只有高级群有效,默认为 NIMTeamInviteModeManager

Declared In

NIMCreateTeamOption.h

  beInviteMode

被邀请模式

@property (nonatomic, assign) NIMTeamBeInviteMode beInviteMode

Discussion

被邀请模式

只有高级群有效,默认为 NIMTeamBeInviteModeNeedAuth

Declared In

NIMCreateTeamOption.h

  updateInfoMode

修改群信息权限

@property (nonatomic, assign) NIMTeamUpdateInfoMode updateInfoMode

Discussion

修改群信息权限

只有高级群有效,默认为 NIMTeamUpdateInfoModeManager

Declared In

NIMCreateTeamOption.h

  updateClientCustomMode

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

@property (nonatomic, assign) NIMTeamUpdateClientCustomMode updateClientCustomMode

Discussion

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

只有高级群有效,默认为 NIMTeamUpdateClientCustomModeManager

Declared In

NIMCreateTeamOption.h

  maxMemberCountLimitation

设置群最大人数上限

@property (nonatomic, assign) NSUInteger maxMemberCountLimitation

Discussion

设置群最大人数上限

默认为0,表示使用默认人数上限

Declared In

NIMCreateTeamOption.h

  antispamBusinessId

对某些资料内容另外的反垃圾的业务ID

@property (nonatomic, strong) NSString *antispamBusinessId

Discussion

对某些资料内容另外的反垃圾的业务ID

Declared In

NIMCreateTeamOption.h