GroupChannelUpdateParams
public final class GroupChannelUpdateParams: NSObject, Encodable
An object contains a set of options to update a group channel
-
Channel name
Declaration
Swift
public var name: String?
-
Channel cover image url
Declaration
Swift
public var coverURL: String?
-
Channel cover image data
Declaration
Swift
public var coverImage: Data?
-
Channel data
Declaration
Swift
public var data: String?
-
Channel custom type
Declaration
Swift
public var customType: String?
-
Determines whether the channel is public or not
Declaration
Swift
public var isPublic: Bool
-
set true if channel need to be updated as distinct
Declaration
Swift
public var isDistinct: Bool
-
set true if this channel is discoverable
Declaration
Swift
public var isDiscoverable: Bool
-
A string that allows access to the public group channel. ONLY use for public group channel.
Declaration
Swift
public var accessCode: String?
-
channel’s operator user IDs
Declaration
Swift
public var operatorUserIds: [String]?
-
Undocumented
Declaration
Swift
public var messageSurvivalSeconds: Int
-
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
public func setOperators(_ operators: [User])
Parameters
operators
The list of operators.