Skip to content

@vkontakte/calls-sdk / Room

Interface: Room

Комната

Properties

name

ts
name: string;

name of this room


participantCount

ts
participantCount: number;

count of participants (read/write, optional)


participantIds

ts
participantIds: ExternalParticipantId[];

ids of all participants (read/write, optional)


addParticipantIds?

ts
optional addParticipantIds: ExternalParticipantId[];

ids of participants to be added to this room (read/write, optional)


removeParticipantIds?

ts
optional removeParticipantIds: ExternalParticipantId[];

ids of participants to be removed from this room (read/write, optional)


participants?

ts
optional participants: ExternalParticipantListChunk;

if participant requested then contains first chunk of participants in this rooms (if client fails to support chunks, then contains all participant in this room) (read, optional)


active?

ts
optional active: boolean;

if this room is active (read/write, optional)


muteStates?

ts
optional muteStates: MuteStates;

global (room-wide) mute state, if any


pinnedParticipantId?

ts
optional pinnedParticipantId: ExternalParticipantId;

pinned participant in the room, if any


countdownSec?

ts
optional countdownSec: number;

room timer