v4.3.0
Changelog
v4.3.0 (Feb 01, 2023)
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
class Participant extends User {
readonly isMuted: boolean;
}
ParticipantListQuery.next()
now returnsPromise<Participant[]>
- For backward compatibility, the return type remains as
Promise<User[]>
, but the return value can be casted intoPromise<Participant[]>