GroupChannelCollection
@objc(SBDGroupChannelCollection)
open class GroupChannelCollection : BaseCollection
extension GroupChannelCollection: GroupChannelDelegate
extension GroupChannelCollection: ConnectionDelegate
An object that accesses the cache for the group channels.
Since
3.1.0-
The channels that the collection has fetched.
Declaration
Swift
@objc open var channelList: [GroupChannel] { get }
-
If
true
, the next page might exist.Declaration
Swift
@objc @Atomic open private(set) var hasNext: Bool { get set }
-
Group channel list query
Declaration
Swift
@objc open internal(set) var query: GroupChannelListQuery { get }
-
Collection delegate.
Declaration
Swift
@objc open weak var delegate: GroupChannelCollectionDelegate? { get set }
-
Represents that the collection is going to display the real-time messages.
Declaration
Swift
@objc open private(set) var isLive: Bool { get }
-
Token for channel change log.
Declaration
Swift
@objc open private(set) var changelogsToken: String? { get }
-
Default timestamp for group channel change logs.
Declaration
Swift
@objc open private(set) var defaultTs: Int64 { get }
-
Represents the collection needs to fetch more data to satisfy query limit
Declaration
Swift
@objc open private(set) var needMoreData: Bool { get }
-
Loads next page.
Declaration
Swift
@objc open func loadMore(completionHandler: @escaping GroupChannelListHandler)
Parameters
completionHandler
The completion handler to be executed.
-
Invalidates the object.
Declaration
Swift
@objc open func dispose()
-
Declaration
Swift
open func channel(_ channel: BaseChannel, didReceiveMention message: BaseMessage)
-
Declaration
Swift
open func channelWasChanged(_ channel: BaseChannel)
-
Declaration
Swift
open func channel(_ channel: GroupChannel, didReceiveInvitation invitees: [User]?, inviter: User?)
-
Declaration
Swift
open func channel(_ channel: GroupChannel, didDeclineInvitation invitee: User, inviter: User?)
-
Declaration
Swift
open func channelDidUpdateDeliveryStatus(_ channel: GroupChannel)
-
Declaration
Swift
open func channelDidUpdateReadStatus(_ channel: GroupChannel)
-
Declaration
Swift
open func channelDidChangeMemberCount(_ channels: [GroupChannel])
-
Declaration
Swift
open func channel(_ channel: BaseChannel, userWasMuted user: RestrictedUser)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, userWasUnmuted user: User)
-
Declaration
Swift
open func channelWasFrozen(_ channel: BaseChannel)
-
Declaration
Swift
open func channelWasUnfrozen(_ channel: BaseChannel)
-
Declaration
Swift
open func channelWasHidden(_ channel: GroupChannel)
-
Declaration
Swift
open func channelDidUpdateOperators(_ channel: BaseChannel)
-
Declaration
Swift
open func channelDidUpdateTypingStatus(_ channel: GroupChannel)
-
Declaration
Swift
open func channel(_ channel: GroupChannel, userDidLeave user: User)
-
Declaration
Swift
open func channel(_ channel: GroupChannel, userDidJoin user: User)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, userWasBanned user: RestrictedUser)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, userWasUnbanned user: User)
-
Declaration
Swift
open func channelWasDeleted(_ channelURL: String, channelType: ChannelType)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, createdMetaData: [String : String]?)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, updatedMetaData: [String : String]?)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, deletedMetaDataKeys: [String]?)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, createdMetaCounters: [String : Int]?)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, updatedMetaCounters: [String : Int]?)
-
Declaration
Swift
open func channel(_ channel: BaseChannel, deletedMetaCountersKeys: [String]?)
-
Declaration
Swift
open func channelDidUpdatePinnedMessages(_ channel: GroupChannel)
-
Declaration
Swift
open func channel(_ channel: GroupChannel, didUpdateFeedbackMessage message: BaseMessage)
-
Declaration
Swift
open func didSucceedReconnection()
-
Declaration
Swift
open func didConnect(userId: String)