SBDOpenChannelParams Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in SBDOpenChannelParams.h

Overview

The SBDOpenChannelParams class contain parameters for open channel. When you want to create a open channel or update a open channel, use this class. Add what you want to create with, add which properties you want to update, and pass this class to SBDOpenChannel. You can use this class with apis that are [SBDOpenChannel createChannel:completionHandler:] or [SBDOpenChannel updateChannel:completionHandler:]. For more information, see Open Channel.

  name

The name of the channel.

@property (nonatomic, strong, nullable) NSString *name

Declared In

SBDOpenChannelParams.h

  channelUrl

The channel URL. If nil, channel url will be determined randomly.

@property (nonatomic, strong, nullable) NSString *channelUrl

Declared In

SBDOpenChannelParams.h

  coverUrl

The cover url of open channel. Please set it using the setCoverUrl: function.

@property (nonatomic, strong, nullable) NSString *coverUrl

Declared In

SBDOpenChannelParams.h

  coverImage

The cover image data of open channel. Please set it using the setCoverImage:coverImageName: function.

@property (nonatomic, strong, nullable) NSData *coverImage

Declared In

SBDOpenChannelParams.h

  coverImageName

The cover image file name of open channel. Please set it using the setCoverImage:coverImageName: function.

@property (nonatomic, strong, nullable) NSString *coverImageName

Declared In

SBDOpenChannelParams.h

  data

The data for channel.

@property (nonatomic, strong, nullable) NSString *data

Declared In

SBDOpenChannelParams.h

  operatorUserIds

The operator user IDs of channel.

@property (nonatomic, strong, nullable) NSArray<NSString*> *operatorUserIds

Declared In

SBDOpenChannelParams.h

  customType

The custom type for channel.

@property (nonatomic, strong, nullable) NSString *customType

Declared In

SBDOpenChannelParams.h

– setOperators:

Set operators with list of user instance.

- (void)setOperators:(NSArray<SBDUser*> *)operators

Parameters

operators

The list of operators.

Availability

3.0.206

Declared In

SBDOpenChannelParams.h