Search Results for

    Show / Hide Table of Contents

    Class SetGroupBanRequest

    堵上一个用户的嘴

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

    Constructors

    | Improve this Doc View Source

    SetGroupBanRequest(Int64, Int64, Int64, Boolean)

    Declaration
    public SetGroupBanRequest(long group_id, long user_id, long duration = null, bool is_ratelimited = false)
    Parameters
    Type Name Description
    System.Int64 group_id

    群号

    System.Int64 user_id

    用户QQ

    System.Int64 duration

    禁言时长

    System.Boolean is_ratelimited

    是否为限速调用

    • Improve this Doc
    • View Source
    ☀
    ☾