Search Results for

    Show / Hide Table of Contents

    Interface IListener

    Namespace: cqhttp.Cyan.Clients.Listeners
    Assembly: cqhttp.Cyan.dll
    Syntax
    public interface IListener

    Methods

    | Improve this Doc View Source

    RegisterHandler(Func<CQEvent, Task<CQResponse>>)

    Declaration
    void RegisterHandler(Func<CQEvent, Task<CQResponse>> handler)
    Parameters
    Type Name Description
    Func<CQEvent, Task<CQResponse>> handler
    • Improve this Doc
    • View Source
    ☀
    ☾