Interface: WebhookHandlerConfig
handler.WebhookHandlerConfig
Configuration for bot webhook handler.
Properties
handler
• handler: (request
: WebhookEvent
) => Promise
<APIGatewayProxyResult
>
Type declaration
▸ (request
): Promise
<APIGatewayProxyResult
>
Parameters
Name | Type |
---|---|
request |
WebhookEvent |
Returns
Promise
<APIGatewayProxyResult
>