Interface IListener
Namespace: cqhttp.Cyan.Clients.Listeners
Assembly: cqhttp.Cyan.dll
Syntax
public interface IListener
Methods
| Improve this Doc View SourceRegisterHandler(Func<CQEvent, Task<CQResponse>>)
Declaration
void RegisterHandler(Func<CQEvent, Task<CQResponse>> handler)
Parameters
Type | Name | Description |
---|---|---|
Func<CQEvent, Task<CQResponse>> | handler |