虎牙开放平台文档

hyExt.order.reportText

  • 发起小程序文本的秩序审核
  • 引入版本 1.8.0
  • 适用终端
    • 虎牙直播主站
    • 虎牙直播APP-iOS:7.11.2
    • 虎牙直播APP-安卓:7.11.0
    • 虎牙直播助手-iOS:3.15.0
    • 虎牙直播助手-安卓:4.8.0
    • 虎牙直播PC客户端-主播侧:4.13.4.0
    • 虎牙直播PC客户端-观众侧:4.13.1.0

接口签名

declare namespace hyExt { module order { /** * 发起小程序文本的秩序审核 * @param param 输入参数 */ function reportText(param: ReportTextReq): Promise<void> } /** * 文本秩序审核参数 */ type ReportTextReq = { /** * 需要审核的文本内容 */ text: string } }

示例代码

hyExt.order .reportText({ text: "text", }) .then(() => { console.log("调用hyExt.order.reportText成功") }) .catch((err) => { console.log("调用hyExt.order.reportText失败", err) })

相关链接