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

namespace CyrusVance.CoolQRobot.ApiCall.Requests {
    /// <summary>
    /// 退出讨论组
    /// </summary>
    [Newtonsoft.Json.JsonObject]
    public class SetDiscussLeaveRequest : ApiRequest {
        [Newtonsoft.Json.JsonProperty] long discuss_id;
        /// <param name="discuss_id">讨论组 ID（正常情况下看不到，需要从讨论组消息上报的数据中获得）</param>
        public SetDiscussLeaveRequest (long discuss_id) : base ("/set_discuss_leave") {
            this.response = new Results.EmptyResult ();
            this.discuss_id = discuss_id;
        }
    }
}