RestrictedUser

@objc(SBDRestrictedUser)
public final class RestrictedUser : User

Represents a user who has been restricted in a channel

  • Restriction info for this user

    Declaration

    Swift

    @objc
    public internal(set) var restrictionInfo: RestrictionInfo? { get }
  • Encodes this object.

    Declaration

    Swift

    public override func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance

  • Default constructor.

    Declaration

    Swift

    public required init(from decoder: Decoder) throws

    Parameters

    decoder

    Decoder instance