Skip to content

Commit f194562

Browse files
authored
fix(setEnable1v1Chat): option 入参写错 (#17614)
1 parent 0c948f7 commit f194562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/taro/types/api/media/voip.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ declare module '../../index' {
320320
* @supported weapp
321321
* @see https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.setEnable1v1Chat.html
322322
*/
323-
setEnable1v1Chat(option: subscribeVoIPVideoMembers.Option): Promise<TaroGeneral.CallbackResult>
323+
setEnable1v1Chat(option: setEnable1v1Chat.Option): Promise<TaroGeneral.CallbackResult>
324324
/** 监听实时语音通话成员视频状态变化事件
325325
* @supported weapp
326326
* @see https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.onVoIPVideoMembersChanged.html
@@ -373,7 +373,7 @@ declare module '../../index' {
373373
*/
374374
offVoIPChatInterrupted(callback: onVoIPChatInterrupted.Callback): void
375375
/** 加入 (创建) 实时语音通话,更多信息可见 [实时语音指南](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/voip-chat.html)
376-
*
376+
*
377377
* 调用前需要用户授权 `scope.record`,若房间类型为视频房间需要用户授权 `scope.camera`。
378378
* @supported weapp
379379
* @see https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.joinVoIPChat.html

0 commit comments

Comments
 (0)