GroupInfoEntity class

群实体

Constructors

GroupInfoEntity({String? groupID, GroupTypeEnum? groupType, String? groupName, String? notification, String? introduction, String? faceUrl, bool? allMuted, GroupAddOptEnum? groupAddOpt, Map<String, String>? customInfo})
GroupInfoEntity.create({String? groupID, required String? groupName, required GroupTypeEnum? groupType, String? introduction})
创建群聊快速方法
GroupInfoEntity.fromJson(dynamic data)
GroupInfoEntity.update({required String? groupID, String? groupName, String? notification, String? introduction, String? faceUrl, bool? allMuted, GroupAddOptEnum? groupAddOpt, Map<String, String>? customInfo})
更新群聊信息快速方法

Properties

allMuted ↔ bool?
是否设置了全员禁言
getter/setter pair
createTime ↔ int?
创建时间
getter/setter pair
customInfo ↔ Map<String, String>?
自定义字段
getter/setter pair
faceUrl ↔ String?
群头像
getter/setter pair
groupAddOpt ↔ GroupAddOptEnum?
加群审批类型。
getter/setter pair
groupID ↔ String?
群ID
getter/setter pair
groupName ↔ String?
群名称
getter/setter pair
groupType ↔ GroupTypeEnum?
群类型
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
introduction ↔ String?
群简介
getter/setter pair
joinTime ↔ int?
当前用户在此群中的加入时间
getter/setter pair
lastInfoTime ↔ int?
群最近一次群资料修改时间
getter/setter pair
lastMessageTime ↔ int?
群最近一次发消息时间
getter/setter pair
memberCount ↔ int?
群成员总数量
getter/setter pair
notification ↔ String?
群公告
getter/setter pair
onlineCount ↔ int?
在线成员数量
getter/setter pair
owner ↔ String?
群主ID
getter/setter pair
recvOpt ↔ GroupReceiveMessageOptEnum?
当前用户在此群组中的消息接收选项
getter/setter pair
role ↔ GroupMemberRoleEnum?
群成员角色
getter/setter pair
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override