NIMChatroomInfo class

Annotations
  • @JsonSerializable()

Constructors

NIMChatroomInfo({required String roomId, String? name, String? announcement, String? broadcastUrl, String? creator, int validFlag = 0, int onlineUserCount = 0, int mute = 0, Map<String, dynamic>? extension, NIMChatroomQueueModificationLevel queueModificationLevel = NIMChatroomQueueModificationLevel.anyone})
NIMChatroomInfo.fromMap(Map<String, dynamic> json)
factory

Properties

announcement String?
聊天室公告
final
broadcastUrl String?
视频直播拉流地址
final
creator String?
聊天室创建者账号
final
extension Map<String, dynamic>?
第三方扩展字段, 长度4k
final
hashCode int
The hash code for this object.
no setterinherited
isMute bool
当前聊天室是否禁言
no setter
isValid bool
当前聊天室是否有效
no setter
mute int
聊天室禁言标记
final
name String?
聊天室名称
final
onlineUserCount int
当前在线用户数量,ios 暂不支持
final
queueModificationLevel NIMChatroomQueueModificationLevel
队列管理权限,如是否有权限提交他人key和信息到队列中
final
roomId String
roomId
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validFlag int
聊天室有效标记
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited