Class CQEvent
“事件上报”中的事件
Namespace: cqhttp.Cyan.Events.CQEvents.Base
Assembly: cqhttp.Cyan.dll
Syntax
public abstract class CQEvent : object
Constructors
| Improve this Doc View SourceCQEvent()
Declaration
public CQEvent()
CQEvent(Int64, PostType)
底层构造事件
Declaration
public CQEvent(long time, PostType postType)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | time | |
PostType | postType |
Properties
| Improve this Doc View Sourcepost_type
Declaration
public string post_type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
postType
事件类型
Declaration
public PostType postType { get; set; }
Property Value
Type | Description |
---|---|
PostType |
time
时间戳
Declaration
public long time { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |