We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d33381d commit 00f9966Copy full SHA for 00f9966
lib/types.ts
@@ -152,10 +152,18 @@ export type UnsendEvent = {
152
unsend: { messageId: string };
153
} & EventBase;
154
155
+/**
156
+ * Whether a user has added your LINE Official Account as a friend or unblocked.
157
+ */
158
+export type FollowDetail = { isUnblocked: boolean };
159
+
160
/**
161
* Event object for when your account is added as a friend (or unblocked).
162
*/
-export type FollowEvent = { type: "follow" } & ReplyableEvent;
163
+export type FollowEvent = {
164
+ type: "follow";
165
+ follow: FollowDetail;
166
+} & ReplyableEvent;
167
168
169
* Event object for when your account is blocked.
0 commit comments