Skip to content

Commit

Permalink
1.1.0 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
chentsulin committed Oct 4, 2021
1 parent 322b589 commit 99aefa4
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
# 1.1.0 / 2021-10-04

### messaging-api-line

- [new] Added support for broadcast API:

```js
await client.broadcast([
{
type: 'text',
text: 'Hello, world1',
},
]);
```

- [new] Added `.getBotInfo()`:

```js
await client.getBotInfo();
// {
// "userId": "Ub9952f8...",
// "basicId": "@216ru...",
// "displayName": "Example name",
// "pictureUrl": "https://obs.line-apps.com/...",
// "chatMode": "chat",
// "markAsReadMode": "manual"
// }
```

- [new] Added support for webhook APIs:

```js
await client.getWebhookEndpointInfo();
// {
// "endpoint": "https://example.com/test",
// "active": true
// }
await client.setWebhookEndpointUrl('https://www.example.com/callback');
await client.testWebhookEndpoint();
// {
// "success": true,
// "timestamp": "2020-09-30T05:38:20.031Z",
// "statusCode": 200,
// "reason": "OK",
// "detail": "200"
// }
```

# 1.0.6 / 2021-09-03

### messaging-api-viber
Expand Down

0 comments on commit 99aefa4

Please sign in to comment.