Cyrus-Vance_Magic-Conch/CyrusVance.CoolQRobot/ApiCall/Requests/SetGroupWholeBanRequest.cs
using CyrusVance.CoolQRobot.ApiCall.Requests.Base;

namespace CyrusVance.CoolQRobot.ApiCall.Requests {
    /// <summary>
    /// å…¨ å‘˜ ğŸˆ²ï¸� ğŸ’¬
    /// </summary>
    [Newtonsoft.Json.JsonObject]
    public class SetGroupWholeBanRequest : ApiRequest {
        [Newtonsoft.Json.JsonProperty] long group_id;
        [Newtonsoft.Json.JsonProperty] bool enable;
        /// <param name="group_id">è¦�ç¦�è¨€çš„ç¾¤å�·</param>
        /// <param name="enable">æ˜¯å�¦ç¦�è¨€</param>
        public SetGroupWholeBanRequest (long group_id, bool enable = true) : base ("/set_group_whole_ban") {
            this.response = new Results.EmptyResult ();
            this.group_id = group_id;
            this.enable = enable;
        }
    }
}