IMiddlewareMap interface
Map of middleware hooks that can be registered in a call to UniversalBot.use().
Properties
botbuilder | Called in series once an incoming message has been bound to a session. Executed after receive middleware. |
receive | Called in series when an incoming event is received. |
send | Called in series before an outgoing event is sent. |
Property Details
botbuilder
Called in series once an incoming message has been bound to a session. Executed after receive middleware.
botbuilder?: ISessionMiddleware | ISessionMiddleware[]
Property Value
receive
Called in series when an incoming event is received.
receive?: IEventMiddleware | IEventMiddleware[]
Property Value
send
Called in series before an outgoing event is sent.
send?: IEventMiddleware | IEventMiddleware[]