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 be100e0 commit cf53691Copy full SHA for cf53691
lib/urls.ts
@@ -32,3 +32,14 @@ export const roomMemberIds = (roomId: string, start?: string) =>
32
export const leaveGroup = (groupId: string) => apiURL(`group/${groupId}/leave`);
33
34
export const leaveRoom = (roomId: string) => apiURL(`room/${roomId}/leave`);
35
+
36
+export const richMenu = (richMenuId?: string) =>
37
+ apiURL("richmenu" + (richMenuId ? `/${richMenuId}` : ""));
38
39
+export const richMenuList = () => apiURL(`richmenu/list`);
40
41
+export const userRichMenu = (userId: string, richMenuId?: string) =>
42
+ apiURL(`user/${userId}/richmenu` + (richMenuId ? `/${richMenuId}` : ""));
43
44
+export const richMenuContent = (richMenuId: string) =>
45
+ apiURL(`richmenu/${richMenuId}/content`);
0 commit comments