NIMTeam class

Annotations
  • @JsonSerializable()

Constructors

NIMTeam({String? id, String? name, String? icon, required NIMTeamTypeEnum type, String? announcement, String? introduce, String? creator, required int memberCount, required int memberLimit, required NIMVerifyTypeEnum verifyType, required num createTime, bool? isMyTeam, String? extension, String? extServer, required NIMTeamMessageNotifyTypeEnum messageNotifyType, required NIMTeamInviteModeEnum teamInviteMode, required NIMTeamBeInviteModeEnum teamBeInviteModeEnum, required NIMTeamUpdateModeEnum teamUpdateMode, required NIMTeamExtensionUpdateModeEnum teamExtensionUpdateMode, bool? isAllMute, required NIMTeamAllMuteModeEnum muteMode})
NIMTeam.fromMap(Map<String, dynamic> map)
factory

Properties

announcement String?
获取群组公告
final
createTime num
获取群组的创建时间,单位为毫秒
final
creator String?
获取创建群组的用户帐号
final
extension String?
设置群组扩展配置。 通常情况下,该配置应是一个json或xml串,以增强扩展能力
final
extServer String?
获取服务器设置的扩展配置。 和getExtension()一样,云信不解释该字段,仅负责存储和透传。 不同于getExtension(), 该配置只能通过服务器接口设置,对客户端是只读的。
final
hashCode int
The hash code for this object.
no setterinherited
icon String?
获取群头像
final
id String?
获取群组ID
final
introduce String?
获取群组简介
final
isAllMute bool?
是否群全员禁言
final
isMyTeam bool?
获取自己是否在这个群里
final
memberCount int
获取群组的总成员数
final
memberLimit int
获取群组的成员人数上限
final
messageNotifyType NIMTeamMessageNotifyTypeEnum
获取当前账号在此群收到消息之后提醒的类型 普通群只支持全部禁言、全部提醒两种提醒类型
final
muteMode NIMTeamAllMuteModeEnum
获取群禁言模式
final
name String?
获取群组名称
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
teamBeInviteModeEnum NIMTeamBeInviteModeEnum
获取群被邀请模式:被邀请人的同意方式
final
teamExtensionUpdateMode NIMTeamExtensionUpdateModeEnum
获取群资料扩展字段修改模式:谁可以修改群自定义属性(扩展字段)
final
teamInviteMode NIMTeamInviteModeEnum
获取群被邀请模式:被邀请人的同意方式
final
teamUpdateMode NIMTeamUpdateModeEnum
获取群资料修改模式:谁可以修改群资料
final
type NIMTeamTypeEnum
获取群组类型
final
verifyType NIMVerifyTypeEnum
获取申请加入群组时的验证类型
final

Methods

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

Operators

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