Member
public final class Member: User
Represents a member in GroupChannel
-
The state for invitation. The values of the property are
invitedandjoined. Theinvitedmeans that the user doesn’t accept the invitation yet and thejoinedmeans that the user accepted the invitation manually or automatically.Declaration
Swift
public internal(set) var state: MemberState -
Whether this member has been blocked by me
Declaration
Swift
public internal(set) var isBlockedByMe: Bool -
Whether this member has blocked me
Declaration
Swift
public internal(set) var isBlockingMe: Bool -
The muted state of the member in the channel.
Since
3.0.198Declaration
Swift
public internal(set) var isMuted: Bool -
The role of current user in the channel.
Since
3.0.174Declaration
Swift
public internal(set) var role: Role -
Restriction information of a muted member. This property is nil for an unmuted member.
Since
3.0.236Declaration
Swift
public internal(set) var restrictionInfo: RestrictionInfo? -
Default constructor.
Declaration
Swift
public required init(from decoder: Decoder) throwsParameters
decoderDecoderinstance -
Encodes this object.
Declaration
Swift
public override func encode(to encoder: Encoder) throwsParameters
encoderEncoderinstance -
Compares this object with given other object.
Declaration
Swift
public override func isEqual(_ object: Any?) -> BoolParameters
objectAnyinstanceReturn Value
trueif same otherwisefalse -
Copies this object
Declaration
Swift
public override func copy(with zone: NSZone? = nil) -> AnyParameters
zoneoptional
NSZoneReturn Value
Memberinstance -
Serializes this object into data
Declaration
Swift
public override func serialize() -> Data?Return Value
optioanal
Datainstance -
Deserializes and reconstructs the object
Declaration
Swift
public final class override func build(fromSerializedData data: Data?) -> Self?Parameters
dataDatainstanceReturn Value
Memberif parameter is valid, otherwisenil
View on GitHub
Install in Dash