OpenChannelUpdateParams

@objc(SBDOpenChannelUpdateParams)
public final class OpenChannelUpdateParams : NSObject, NSCopying

An object contains set of options to update open channel

Since

4.0.0
  • Channel name

    Declaration

    Swift

    @objc
    public var name: String?
  • Channel cover image URL

    Note

    This property does not cooperate with coverImage

    Declaration

    Swift

    @objc
    public var coverURL: String?
  • Channel cover image data

    Note

    This property does not cooperate with coverURL

    Declaration

    Swift

    @objc
    public var coverImage: Data?
  • Channel cover image name

    Declaration

    Swift

    @objc
    public var coverImageName: String?
  • Channel data

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public var customType: String?
  • Default constructor

    Declaration

    Swift

    public override convenience init()
  • Parameter constructor

    Declaration

    Swift

    @objc
    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

    @objc
    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