MentionType

@objc(SBDMentionType)
public enum MentionType : Int
extension MentionType: RawRepresentable, Codable

The enum type to represent target type of mention.

  • Undocumented

    Declaration

    Swift

    case users = 0
  • Undocumented

    Declaration

    Swift

    case channel = 1
  • Declaration

    Swift

    public typealias RawValue = String
  • 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