GroupChannelUpdateParams

@objc(SBDGroupChannelUpdateParams)
public final class GroupChannelUpdateParams : NSObject, Encodable

An object contains a set of options to update a group channel

  • Channel name

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public var coverImage: Data?
  • Channel data

    Declaration

    Swift

    @objc
    public var data: String?
  • Channel custom type

    Declaration

    Swift

    @objc
    public var customType: String?
  • Determines whether the channel is public or not

    Declaration

    Swift

    @objc
    public var isPublic: Bool { get set }
  • set true if channel need to be updated as distinct

    Declaration

    Swift

    @objc
    public var isDistinct: Bool { get set }
  • set true if this channel is discoverable

    Declaration

    Swift

    @objc
    public var isDiscoverable: Bool { get set }
  • A string that allows access to the public group channel. ONLY use for public group channel.

    Declaration

    Swift

    @objc
    public var accessCode: String?
  • channel’s operator user IDs

    Declaration

    Swift

    @objc
    public var operatorUserIds: [String]? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var messageSurvivalSeconds: Int { get set }
  • Default constructor.

    Declaration

    Swift

    public override init()
  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance

  • Set operators with list of user instance.

    Declaration

    Swift

    @objc
    public func setOperators(_ operators: [User])

    Parameters

    operators

    The list of operators.