Skip to content

@line/bot-sdk


@line/bot-sdk / webhook / CallbackRequest

Type Alias: CallbackRequest

CallbackRequest = object

Defined in: lib/webhook/model/callbackRequest.ts:18

The request body contains a JSON object with the user ID of a bot that should receive webhook events and an array of webhook event objects.

Properties

destination

destination: string

Defined in: lib/webhook/model/callbackRequest.ts:24

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}.

See

destination Documentation


events

events: Event[]

Defined in: lib/webhook/model/callbackRequest.ts:30

Array of webhook event objects. The LINE Platform may send an empty array that doesn't include a webhook event object to confirm communication.

See

events Documentation