JMSGGroupInfo Class Reference

Inherits from NSObject
Declared in JMSGGroup.h

Overview

群信息类(此类仅用于修改群信息、创建群、群信息展示)

注意:

如果想要获取群的相关属性值、调用相关接口,需要通过 gid 获取到 JMSGGroup 对象再使用;

本类中可读可写属性表示可以用于群信息修改、创建群传值,只读属性说明是不允许客户端修改的,只做展示;

  gid

群 id

@property (nonatomic, strong, readonly) NSString *gid

Declared In

JMSGGroup.h

  name

群名称

@property (nonatomic, strong, readwrite) NSString *name

Declared In

JMSGGroup.h

  desc

群描述

@property (nonatomic, strong, readwrite) NSString *desc

Declared In

JMSGGroup.h

  avatarData

群头像数据,此属性只用户修改群信息,切勿从此类拿来此属性来展示

@property (nonatomic, strong, readwrite) NSData *avatarData

Declared In

JMSGGroup.h

  avatar

群头像的媒体文件ID

@property (nonatomic, strong, readonly) NSString *avatar

Declared In

JMSGGroup.h

  groupType

群组类型,私有、公开,注意:仅限于创建群组时设置,创建成功之后不允许修改群类型

@property (nonatomic, assign, readwrite) JMSGGroupType groupType

Declared In

JMSGGroup.h

  maxMemberCount

群组人数上限,注意:仅限于创建群组时可以设置,必须大于 2

@property (nonatomic, strong, readwrite) NSString *maxMemberCount

Declared In

JMSGGroup.h

  ctime

群组创建时间

@property (nonatomic, assign, readonly) SInt64 ctime

Declared In

JMSGGroup.h