new EMGroup(group)
- Source:
EMError constructor.
Parameters:
Name | Type | Description |
---|---|---|
group |
Object |
Methods
groupAdmins() → {Array}
- Source:
Get group's admins.
Note: Will return empty array if have not ever got group's admins.
Returns:
String list. 组管理员列表
- Type
- Array
groupAnnouncement() → {String}
- Source:
Get group's announcement.
Returns:
群公告
- Type
- String
groupBans() → {Array}
- Source:
Get a copy of group's bans.
Note: Will return empty array if have not ever got group's bans.
Returns:
String list. 组禁言成员列表
- Type
- Array
groupDescription() → {String}
- Source:
Get group's description.
Returns:
返回组描述
- Type
- String
groupId() → {String}
- Source:
Get group's ID.
Returns:
返回groupId
- Type
- String
groupMembers() → {Array}
- Source:
Get a copy of group's member list.
Note: Will return empty array if have not ever got group's members.
Returns:
String list. 组成员列表
- Type
- Array
groupMembersCount() → {Number}
- Source:
Get current members count.
Returns:
返回组成员计数
- Type
- Number
groupMemberType() → {Number}
- Source:
Get current login user type.
Returns:
返回组成员类型
- Type
- Number
groupMutes() → {Array}
- Source:
Get group's mutes.
Note: Will return empty array if have not ever got group's mutes.
object is like {"key": name, "value": muteTime}.
Returns:
Object list. 聊天室禁言列表
- Type
- Array
groupOwner() → {String}
- Source:
Get group's owner.
Returns:
返回群主
- Type
- String
groupSetting() → {EMMucSetting}
- Source:
Get group's setting.
Returns:
返回组设置
- Type
- EMMucSetting
groupSharedFiles() → {Array}
- Source:
Get group's shared files.
Returns:
EMMucSharedFile array.
- Type
- Array
groupSubject() → {String}
- Source:
Get group's subject.
Returns:
返回组名称
- Type
- String
isMessageBlocked() → {Bool}
- Source:
Get whether group messages is blocked.
Returns:
返回当前是否屏蔽群
- Type
- Bool
isPushEnabled() → {Bool}
- Source:
Get whether push is enabled status.
Returns:
返回是否允许发送消息
- Type
- Bool