You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/types.ts
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ export type WebhookEvent =
54
54
|MemberJoinEvent
55
55
|MemberLeaveEvent
56
56
|PostbackEvent
57
+
|VideoPlayCompleteEvent
57
58
|BeaconEvent
58
59
|AccountLinkEvent
59
60
|DeviceLinkEvent
@@ -199,6 +200,18 @@ export type PostbackEvent = {
199
200
postback: Postback;
200
201
}&ReplyableEvent;
201
202
203
+
/**
204
+
* Event for when a user finishes viewing a video at least once with the specified trackingId sent by the LINE Official Account.
205
+
*/
206
+
exporttypeVideoPlayCompleteEvent={
207
+
type: "videoPlayComplete";
208
+
/**
209
+
* ID used to identify a video. Returns the same value as the trackingId assigned to the [video message](https://developers.line.biz/en/reference/messaging-api/#video-message).
210
+
* String
211
+
*/
212
+
videoPlayComplete: {trackingId: string};
213
+
}&ReplyableEvent;
214
+
202
215
/**
203
216
* Event object for when a user enters or leaves the range of a
0 commit comments