RestrictionType
@objc(SBDRestrictionType)
public enum RestrictionType : Int, RawRepresentable, Codable
Restriction type for restrictedUser
Since
3.0.236-
Declaration
Swift
public typealias RawValue = String
-
Undocumented
Declaration
Swift
case muted
-
Undocumented
Declaration
Swift
case banned
-
Declaration
Swift
public var rawValue: String { get }
-
Declaration
Swift
public init(rawValue: String)
-
Default constructor.
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
Decoder
instance -
Encodes this object.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
Encoder
instance