Class SetGroupLeaveRequest
退出/解散群组
Namespace: cqhttp.Cyan.ApiCall.Requests
Assembly: cqhttp.Cyan.dll
Syntax
public class SetGroupLeaveRequest : ApiRequest
Constructors
| Improve this Doc View SourceSetGroupLeaveRequest(Int64, Boolean)
Declaration
public SetGroupLeaveRequest(long group_id, bool is_dismiss = false)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | group_id | 群号 |
System.Boolean | is_dismiss | 是否解散,如果登录号是群主,则仅在此项为 true 时能够解散 |