Skip to content

@line/bot-sdkDocs


@line/bot-sdk / WebhookRequestBody

Type Alias: WebhookRequestBody

WebhookRequestBody: object

Request body which is sent by webhook.

Type declaration

destination

destination: string

User ID of a bot that should receive webhook events. The user ID value is a string that matches the regular expression, U[0-9a-f]{32}.

events

events: WebhookEvent[]

Information about the event

See

Request body

Defined in

lib/types.ts:33