Skip to content

Commit 56e3cff

Browse files
authored
Accept label in richmenu area actions (#246)
1 parent f26aacf commit 56e3cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,7 @@ export type RichMenu = {
19881988
* which define the coordinates and size of tappable areas
19891989
* (Max: 20 area objects)
19901990
*/
1991-
areas: Array<{ bounds: Area; action: Action<{}> }>;
1991+
areas: Array<{ bounds: Area; action: Action<{ label?: string }> }>;
19921992
};
19931993

19941994
export type RichMenuResponse = { richMenuId: string } & RichMenu;

0 commit comments

Comments
 (0)