import{_ as e}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as r,c as h,a as t,d as o,b as i,e as n}from"./app-e0095480.js";const c={},s={class:"hint-container warning"},p=t("p",{class:"hint-container-title"},"注意",-1),l=n('
该接口用于处理加好友请求。
/set_friend_add_request
字段名 | 数据类型 | 默认值 | 说明 |
---|---|---|---|
flag | string | - | 加好友请求的 flag(需从上报的数据中获得) |
approve | boolean | true | 是否同意请求 |
remark | string | 空 | 添加后的好友备注(仅在同意时有效) |
该接口将返回处理结果,其中 data
字段无数据。
该接口用于处理加群请求/邀请。
/set_group_add_request
字段名 | 数据类型 | 默认值 | 说明 |
---|---|---|---|
flag | string | - | 加群请求的 flag(需从上报的数据中获得) |
sub_type 或 type | string | - | add 或 invite , 请求类型(需要和上报消息中的 sub_type 字段相符) |
approve | boolean | true | 是否同意请求/邀请 |
reason | string | 空 | 拒绝理由(仅在拒绝时有效) |
该接口将返回处理结果,其中 data
字段无数据。