v4.3.0
·
169 commits
to master
since this release
Features
Participant class in Open Channel
Participant is a new interface for User who joined Open Channel. It's optimized for scalability and contains much lighter information about the User than a Member in Group Channel.
Now clients can implement Open Channels easier in SDK with more built-in capabilities. You can compare how Member, Participant, and User are different here.
Participant
holds essential information about the participant like below. They contain their muted status (is_muted
) on top of basic User information.
@objc(SBDParticipant)
public class Participant: User {
@objc
public internal(set) var isMuted: Bool
@objc
public func serialize() -> Data?
@objc
public class func build(fromSerializedData data: Data?) -> Self?
}
ParticipantListQuery.loadNextPage(completionHandler: @escaping UserListHandler)
now returns[Participant]
- For backward compatibility, the
UsersHandler
returnsUser
list, but it can be casted intoParticipant
- For backward compatibility, the