@@ -50,6 +50,11 @@ class Client {
50
50
getRichMenu(richMenuId : string ): Promise <RichMenuResponse >
51
51
createRichMenu(richMenu : RichMenu ): Promise <string >
52
52
deleteRichMenu(richMenuId : string ): Promise <any >
53
+ getRichMenuAliasList(): Promise <Types .GetRichMenuAliasListResponse >
54
+ getRichMenuAlias(richMenuAliasId : string ): Promise <Types .GetRichMenuAliasResponse >>
55
+ createRichMenuAlias(richMenuId : string , richMenuAliasId : string ): Promise <{}>
56
+ deleteRichMenuAlias(richMenuAliasId : string ): Promise <{}>
57
+ updateRichMenuAlias(richMenuAliasId : string , richMenuId : string ): Promise <{}>
53
58
getRichMenuIdOfUser(userId : string ): Promise <string >
54
59
linkRichMenuToUser(userId : string , richMenuId : string ): Promise <any >
55
60
unlinkRichMenuFromUser(userId : string , richMenuId : string ): Promise <any >
@@ -369,6 +374,19 @@ client.getGroupMemberIds('group_id').then((ids) => {
369
374
})
370
375
```
371
376
377
+
378
+ #### ` getBotFollowersIds(): Promise<string[]> `
379
+
380
+ It corresponds to the [ Bot Followers IDs] ( https://developers.line.biz/en/reference/messaging-api/#get-follower-ids ) API.
381
+
382
+ * FYI: This feature is available only for verified or premium accounts.*
383
+
384
+ ``` js
385
+ client .getBotFollowersIds ().then ((ids ) => {
386
+ ids .forEach ((id ) => console .log (id));
387
+ })
388
+ ```
389
+
372
390
#### ` leaveGroup(groupId: string): Promise<any> `
373
391
374
392
It corresponds to the [ Leave group] ( https://developers.line.biz/en/reference/messaging-api/#leave-group ) API.
@@ -467,6 +485,54 @@ The argument is a rich menu ID.
467
485
client .deleteRichMenu (' rich_menu_id' )
468
486
```
469
487
488
+ #### ` getRichMenuAliasList(): Promise<any> `
489
+
490
+ It corresponds to the [ Get list of rich menu alias] ( https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list ) API.
491
+
492
+ ``` js
493
+ client .getRichMenuAliasList ()
494
+ ```
495
+
496
+ #### ` getRichMenuAlias(richMenuAliasId: string): Promise<any> `
497
+
498
+ It corresponds to the [ Get rich menu alias information] ( https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id ) API.
499
+
500
+ The argument is a rich menu alias ID.
501
+
502
+ ``` js
503
+ client .getRichMenuAlias (' rich_menu_alias_id' )
504
+ ```
505
+
506
+ #### ` createRichMenuAlias(richMenuId: string, richMenuAliasId: string): Promise<any> `
507
+
508
+ It corresponds to the [ Create rich menu alias] ( https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias ) API.
509
+
510
+ The argument is a rich menu ID and a rich menu alias ID.
511
+
512
+ ``` js
513
+ client .createRichMenuAlias (' rich_menu_id' , ' rich_menu_alias_id' )
514
+ ```
515
+
516
+ #### ` deleteRichMenuAlias(richMenuAliasId: string): Promise<any> `
517
+
518
+ It corresponds to the [ Delete rich menu alias] ( https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias ) API.
519
+
520
+ The argument is a rich menu alias ID.
521
+
522
+ ``` js
523
+ client .deleteRichMenuAlias (' rich_menu_alias_id' )
524
+ ```
525
+
526
+ #### ` updateRichMenuAlias(richMenuAliasId: string, richMenuId: string): Promise<any> `
527
+
528
+ It corresponds to the [ Update rich menu alias] ( https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias ) API.
529
+
530
+ The argument is a rich menu alias ID and a rich menu ID.
531
+
532
+ ``` js
533
+ client .updateRichMenuAlias (' rich_menu_alias_id' , ' rich_menu_id' )
534
+ ```
535
+
470
536
#### ` getRichMenuIdOfUser(userId: string): Promise<string> `
471
537
472
538
It corresponds to the [ Get rich menu ID of user] ( https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user ) API.
0 commit comments