OpenChannelUpdateParams

public final class OpenChannelUpdateParams: NSObject, NSCopying

An object contains set of options to update open channel

Since

4.0.0
  • Channel name

    Declaration

    Swift

    public var name: String?
  • Channel cover image URL

    Note

    This property does not cooperate with coverImage

    Declaration

    Swift

    public var coverURL: String?
  • Channel cover image data

    Note

    This property does not cooperate with coverURL

    Declaration

    Swift

    public var coverImage: Data?
  • Channel cover image name

    Declaration

    Swift

    public var coverImageName: String?
  • Channel data

    Declaration

    Swift

    public var data: String?
  • Channel’s operator user IDs

    Declaration

    Swift

    public var operatorUserIds: [String]?
  • Channel custom type

    Declaration

    Swift

    public var customType: String?
  • Default constructor

    Declaration

    Swift

    public override convenience init()
  • Parameter constructor

    Declaration

    Swift

    public init(
        name: String? = nil,
        coverURL: String? = nil,
        coverImage: Data? = nil,
        coverImageName: String? = nil,
        data: String? = nil,
        operatorUserIds: [String]? = nil,
        customType: String? = nil
    )
  • Set operators with list of user instance.

    Since

    3.0.206

    Declaration

    Swift

    public func setOperators(_ operators: [User])

    Parameters

    operators

    The list of operators.

  • Copies this object

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any

    Parameters

    zone

    optional NSZone

    Return Value

    OpenChannelUpdateParams instance