Skip to content

v4.3.0

Compare
Choose a tag to compare
@liamcho liamcho released this 01 Feb 10:18
· 152 commits to main since this release

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 returns Promise<Participant[]>
  • For backward compatibility, the return type remains as Promise<User[]>, but the return value can be casted into Promise<Participant[]>