GroupChannelHiddenState

public enum GroupChannelHiddenState: Int
extension GroupChannelHiddenState: RawRepresentable, Codable

The enum type for the hidden state of a group channel.

Since

3.0.122
  • Shows the channel is unhidden.

    Declaration

    Swift

    case unhidden = 0
  • Shows the channel will be unhidden automatically when there is a new message in the channel.

    Declaration

    Swift

    case hiddenAllowAutoUnhide   = 1
  • Shows the channel will not be unhidden automatically.

    Declaration

    Swift

    case hiddenPreventAutoUnhide = 2
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public init(rawValue: String)
  • Declaration

    Swift

    public var 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