Skip to content

Commit e096fe2

Browse files
authored
Merge pull request #304 from line/next
Release 7.4.0
2 parents e392863 + 1bad7ae commit e096fe2

File tree

13 files changed

+4486
-2096
lines changed

13 files changed

+4486
-2096
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 7.4.0 (7 Sep 2021)
2+
3+
### Feature
4+
* Add support of redelivery object (#288)
5+
* add richmenu alias api (#292)
6+
* add richmenu switch action type (#293,#294)
7+
* Add Emojis in text messages (#295)
8+
9+
### Misc
10+
* misc: fix github changelog workflow
11+
* update dependencies by using npm update (#276, #279)
12+
* feat: Get follower ids (#278)
13+
* update example dependencies (#285)
14+
* Update comment to reflect URI action can be used with quick reply (#289)
15+
* Update comments in types to reflect doc changes (#296)
16+
117
## 7.3.0 (26 Apr 2021)
218

319
### Feature

docs/api-reference/client.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ class Client {
5050
getRichMenu(richMenuId: string): Promise<RichMenuResponse>
5151
createRichMenu(richMenu: RichMenu): Promise<string>
5252
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<{}>
5358
getRichMenuIdOfUser(userId: string): Promise<string>
5459
linkRichMenuToUser(userId: string, richMenuId: string): Promise<any>
5560
unlinkRichMenuFromUser(userId: string, richMenuId: string): Promise<any>
@@ -369,6 +374,19 @@ client.getGroupMemberIds('group_id').then((ids) => {
369374
})
370375
```
371376

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+
372390
#### `leaveGroup(groupId: string): Promise<any>`
373391

374392
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.
467485
client.deleteRichMenu('rich_menu_id')
468486
```
469487

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+
470536
#### `getRichMenuIdOfUser(userId: string): Promise<string>`
471537

472538
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

Comments
 (0)