@vkontakte/calls-sdk 2.8.5-beta.31 → 2.8.5-beta.33

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
@@ -672,7 +672,7 @@ export declare function getAudienceModeHands(): Promise<AudienceModeHandsRespons
672
672
  * @param externalId Внешний ID пользователя
673
673
  * @param demote Запретить вход/отобрать права спикера
674
674
  */
675
- export declare function promoteParticipant(externalId: ExternalId, demote?: boolean): Promise<void>;
675
+ export declare function promoteParticipant(externalId?: ExternalId, demote?: boolean): Promise<void>;
676
676
  /**
677
677
  * Запросить/отозвать запрос на получение права стать спикером в комнате в
678
678
  * режиме Audience
@@ -103,7 +103,7 @@ export default abstract class BaseSignaling extends EventEmitter {
103
103
  [key in ConversationOption]?: boolean;
104
104
  }): Promise<SignalingMessage>;
105
105
  abstract getWaitingHall(fromId: SignalingMessage.WaitingParticipantId | null, count?: number, backward?: boolean): Promise<SignalingMessage>;
106
- abstract promoteParticipant(participantId: CompositeUserId, demote?: boolean): Promise<SignalingMessage>;
106
+ abstract promoteParticipant(participantId?: CompositeUserId, demote?: boolean): Promise<SignalingMessage>;
107
107
  abstract requestPromotion(unrequest: boolean): Promise<SignalingMessage>;
108
108
  abstract acceptPromotion(reject: boolean): Promise<SignalingMessage>;
109
109
  abstract feedback(key: string): Promise<SignalingMessage>;