@line/bot-sdk
Version:
Node.js SDK for LINE Messaging API
45 lines (43 loc) • 1.59 kB
text/typescript
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export type TestWebhookEndpointResponse = {
/**
* Result of the communication from the LINE platform to the webhook URL.
*
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">success Documentation</a>
*/
success?: boolean /**/;
/**
* 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.
*
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">timestamp Documentation</a>
*/
timestamp: Date /**/;
/**
* The HTTP status code. If the webhook response isn\'t received, the status code is set to zero or a negative number.
*
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">statusCode Documentation</a>
*/
statusCode: number /**/;
/**
* Reason for the response.
*
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">reason Documentation</a>
*/
reason: string /**/;
/**
* Details of the response.
*
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint">detail Documentation</a>
*/
detail: string /**/;
};