Search Results for

    Show / Hide Table of Contents

    Class CQEvent

    “事件上报”中的事件 https://cqhttp.cc/docs/4.6/#/Post

    Inheritance
    System.Object
    CQEvent
    MessageEvent
    NoticeEvent
    RequestEvent
    MetaEvent
    Namespace: cqhttp.Cyan.Events.CQEvents.Base
    Assembly: cqhttp.Cyan.dll
    Syntax
    public abstract class CQEvent : object

    Constructors

    | Improve this Doc View Source

    CQEvent()

    Declaration
    public CQEvent()
    | Improve this Doc View Source

    CQEvent(Int64, PostType)

    底层构造事件

    Declaration
    public CQEvent(long time, PostType postType)
    Parameters
    Type Name Description
    System.Int64 time
    PostType postType

    Properties

    | Improve this Doc View Source

    post_type

    Declaration
    public string post_type { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    postType

    事件类型

    Declaration
    public PostType postType { get; set; }
    Property Value
    Type Description
    PostType
    | Improve this Doc View Source

    time

    时间戳

    Declaration
    public long time { get; set; }
    Property Value
    Type Description
    System.Int64
    • Improve this Doc
    • View Source
    ☀
    ☾