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 =
6262 | AccountLinkEvent
6363 | DeviceLinkEvent
6464 | DeviceUnlinkEvent
65- | LINEThingsScenarioExecutionEvent ;
65+ | LINEThingsScenarioExecutionEvent
66+ | DeliveryEvent ;
6667
6768export type EventBase = {
6869 /**
@@ -373,6 +374,21 @@ export type LINEThingsActionResult = {
373374 data ?: string ;
374375} ;
375376
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+
376392export type EventMessage =
377393 | TextEventMessage
378394 | ImageEventMessage
You can’t perform that action at this time.
0 commit comments