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 3408760 commit 1643162Copy full SHA for 1643162
lib/types.ts
@@ -405,7 +405,18 @@ export type TextEventMessage = {
405
* 8 is the length.
406
*/
407
length: number;
408
- userId: string;
+ /**
409
+ * Mentioned target.
410
+ *
411
+ * - `user`: User.
412
+ * - `all`: Entire group.
413
+ */
414
+ type: "user" | "all";
415
416
+ * User ID of the mentioned user. Only included if mention.mentions[].type is user
417
+ * and the user consents to the LINE Official Account obtaining their user profile information.
418
419
+ userId?: string;
420
}[];
421
};
422
} & EventMessageBase;
0 commit comments