NIMChatroomTempMuteAttachment class

聊天室新增临时禁言通知消息附件

Inheritance
Annotations

Constructors

NIMChatroomTempMuteAttachment({required int type, int duration = 0, List<String>? targets, List<String>? targetNicks, String? operator, String? operatorNick, Map<String, dynamic>? extension})
NIMChatroomTempMuteAttachment.fromMap(Map<String, dynamic> map)
factory

Properties

duration int
临时禁言时长,单位为秒
final
extension Map<String, dynamic>?
获取聊天室通知扩展字段 该字段对应 NIMChatroomEnterRequest.notifyExtension
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isAdd bool
no setter
isRemove bool
no setter
operator String?
获取该操作的发起者的账号
finalinherited
operatorNick String?
获取该操作的发起者的昵称
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetNicks List<String>?
获取该操作的承受者的昵称列表
finalinherited
targets List<String>?
获取该操作的承受者的账号列表
finalinherited
type int
通知类型,参考 NIMChatroomNotificationTypes
finalinherited

Methods

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

Operators

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