Search Results for

    Show / Hide Table of Contents

    Class SetFriendAddRequest

    退出讨论组

    Inheritance
    System.Object
    ApiRequest
    SetFriendAddRequest
    Inherited Members
    ApiRequest.api_path
    ApiRequest.response
    ApiRequest.content
    Namespace: cqhttp.Cyan.ApiCall.Requests
    Assembly: cqhttp.Cyan.dll
    Syntax
    public class SetFriendAddRequest : ApiRequest

    Constructors

    | Improve this Doc View Source

    SetFriendAddRequest(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

    添加后的好友备注(仅在同意时有效)

    • Improve this Doc
    • View Source
    ☀
    ☾