Skip to content

@line/bot-sdk


@line/bot-sdk / messagingApi / TestWebhookEndpointResponse

Type Alias: TestWebhookEndpointResponse

TestWebhookEndpointResponse = object

Defined in: lib/messaging-api/model/testWebhookEndpointResponse.ts:16

See

https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint

Properties

detail

detail: string

Defined in: lib/messaging-api/model/testWebhookEndpointResponse.ts:36

Details of the response.


reason

reason: string

Defined in: lib/messaging-api/model/testWebhookEndpointResponse.ts:32

Reason for the response.


statusCode

statusCode: number

Defined in: lib/messaging-api/model/testWebhookEndpointResponse.ts:28

The HTTP status code. If the webhook response isn't received, the status code is set to zero or a negative number.


success?

optional success?: boolean

Defined in: lib/messaging-api/model/testWebhookEndpointResponse.ts:20

Result of the communication from the LINE platform to the webhook URL.


timestamp

timestamp: Date

Defined in: lib/messaging-api/model/testWebhookEndpointResponse.ts:24

Time of the event in milliseconds. Even in the case of a redelivered webhook, it represents the time the event occurred, not the time it was redelivered.