@vkontakte/calls-sdk 2.7.2-dev.a12cd36.0 → 2.7.2-dev.afeedc6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CallsSDK.d.ts CHANGED
@@ -396,8 +396,8 @@ export declare function muteParticipantInternal({ uid, muteStates, requestedMedi
396
396
  * @param externalId Внешний ID пользователя
397
397
  * @param unpin Открепить
398
398
  */
399
- export declare function pinParticipant(externalId: string | ExternalParticipantId, unpin?: boolean): Promise<void>;
400
- export declare function pinParticipantInternal(uid: OkUserId, unpin?: boolean, deviceIdx?: number): Promise<void>;
399
+ export declare function pinParticipant(externalId: string | ExternalParticipantId, unpin?: boolean, roomId?: number | null): Promise<void>;
400
+ export declare function pinParticipantInternal(uid: OkUserId, unpin?: boolean, deviceIdx?: number, roomId?: number | null): Promise<void>;
401
401
  /**
402
402
  * Устанавливает настройки пользовательского медиа
403
403
  *
@@ -82,7 +82,7 @@ export default abstract class BaseSignaling extends EventEmitter {
82
82
  abstract grantRoles(participantId: CompositeUserId, roles: UserRole[], revoke: boolean): Promise<SignalingMessage>;
83
83
  abstract muteParticipant(participantId: ParticipantId | null, muteStates: MuteStates, requestedMedia: MediaOption[], roomId: number | null): Promise<SignalingMessage>;
84
84
  abstract enableFeatureForRoles(feature: ConversationFeature, roles: UserRole[]): Promise<SignalingMessage>;
85
- abstract pinParticipant(participantId: ParticipantId, unpin: boolean): Promise<SignalingMessage>;
85
+ abstract pinParticipant(participantId: ParticipantId, unpin: boolean, roomId: number | null): Promise<SignalingMessage>;
86
86
  abstract updateMediaModifiers(mediaModifiers: MediaModifiers): Promise<SignalingMessage>;
87
87
  abstract changeOptions(changes: {
88
88
  [key in ConversationOption]?: boolean;