File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ export type WebhookEvent =
62
62
| AccountLinkEvent
63
63
| DeviceLinkEvent
64
64
| DeviceUnlinkEvent
65
- | LINEThingsScenarioExecutionEvent ;
65
+ | LINEThingsScenarioExecutionEvent
66
+ | DeliveryEvent ;
66
67
67
68
export type EventBase = {
68
69
/**
@@ -373,6 +374,21 @@ export type LINEThingsActionResult = {
373
374
data ?: string ;
374
375
} ;
375
376
377
+ /**
378
+ * Completed Delivery Event
379
+ * @see {@link https://developers.line.biz/en/docs/partner-docs/line-notification-messages/message-sending-complete-webhook-event/#receive-delivery-event }
380
+ */
381
+ export type DeliveryEvent = {
382
+ type : "delivery" ;
383
+ /** A delivery object containing a hashed phone number string or a string specified by X-Line-Delivery-Tag. */
384
+ delivery : Delivery ;
385
+ } & EventBase ;
386
+
387
+ type Delivery = {
388
+ /** A hashed phone number string or a string specified by X-Line-Delivery-Tag. */
389
+ data : string ;
390
+ } ;
391
+
376
392
export type EventMessage =
377
393
| TextEventMessage
378
394
| ImageEventMessage
You can’t perform that action at this time.
0 commit comments