Sender
@objc(SBDSender)
public final class Sender : User
Represents a user that typically binds with message
-
If
true
, the current user blocked the sender.Declaration
Swift
@objc public internal(set) var isBlockedByMe: Bool { get }
-
The role of the sender in the channel.
Since
3.0.198Declaration
Swift
@objc public internal(set) var role: Role { get }
-
Default constructor.
Declaration
Swift
public required init(from decoder: Decoder) throws
Parameters
decoder
Decoder
instance -
Encodes this object.
Declaration
Swift
public override func encode(to encoder: Encoder) throws
Parameters
encoder
Encoder
instance -
Compares this object with given other object.
Declaration
Swift
public override func isEqual(_ object: Any?) -> Bool
Parameters
object
Any
instanceReturn Value
true
if same otherwisefalse
-
Copies this object
Declaration
Swift
public override func copy(with zone: NSZone? = nil) -> Any
Parameters
zone
optional
NSZone
Return Value
Sender
instance