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 @@ -49,7 +49,8 @@ export type WebhookEvent =
49
49
| MemberJoinEvent
50
50
| MemberLeaveEvent
51
51
| PostbackEvent
52
- | BeaconEvent ;
52
+ | BeaconEvent
53
+ | AccountLinkEvent ;
53
54
54
55
export type EventBase = {
55
56
/**
@@ -195,6 +196,21 @@ export type BeaconEvent = ReplyableEvent & {
195
196
} ;
196
197
} ;
197
198
199
+ /**
200
+ * Event object for when a user has linked his/her LINE account with a provider's service account.
201
+ */
202
+ export type AccountLinkEvent = ReplyableEvent & {
203
+ type : "accountLink" ;
204
+ link : {
205
+ result : "ok" | "failed" ;
206
+
207
+ /**
208
+ * Specified nonce when verifying the user ID
209
+ */
210
+ nonce : string ;
211
+ } ;
212
+ } ;
213
+
198
214
export type EventMessage =
199
215
| TextEventMessage
200
216
| ImageEventMessage
You can’t perform that action at this time.
0 commit comments