Class SetFriendAddRequest
退出讨论组
Namespace: cqhttp.Cyan.ApiCall.Requests
Assembly: cqhttp.Cyan.dll
Syntax
public class SetFriendAddRequest : ApiRequest
Constructors
| Improve this Doc View SourceSetFriendAddRequest(String, Boolean, String)
Declaration
public SetFriendAddRequest(string flag, bool approve = true, string remark = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | flag | 加好友请求的 flag(需从上报的数据中获得) |
System.Boolean | approve | 是否同意请求 |
System.String | remark | 添加后的好友备注(仅在同意时有效) |