Releases: bottenderjs/messaging-apis
Releases · bottenderjs/messaging-apis
0.4.4 / 2017-10-11
messaging-api-messenger
- [renamed]
getDomainWhitelist
->getWhitelistedDomains
- [renamed]
setDomainWhitelist
->setWhitelistedDomains
- [renamed]
deleteDomainWhitelist
->deleteWhitelistedDomains
messaging-api-viber
- [new] First release of Viber API Support!
0.4.3 / 2017-09-28
messaging-api-line
- [new] Added a LINE Bot example. Thanks @madeinfree!
messaging-api-telegram
- [new] Gets Payments API support! 🎉
sendInvoice
answerShippingQuery
answerPreCheckoutQuery
0.4.2 / 2017-09-22
messaging-api-messenger
- [new] Export version of Graph API:
const { MessengerClient } = require('messaging-api-messenger');
const client = MessengerClient.connect(accessToken);
client.version // "v2.10"
0.4.1 / 2017-09-19
messaging-api-line
- [fix] Wrong case in filename.
0.4.0 / 2017-09-19
messaging-api-messenger
- [breaking] Renamed
send
tosendMessage
messaging-api-line
- [breaking] Renamed all of
LINE
to PascalCaseLine
(follow convention from other modules), e.g.LineClient.connect
,Line.createText
.
Example:
const { Line, LineClient } = require('messaging-api-line');
0.3.5 / 2017-09-15
messaging-api-messenger
- [docs] Fix a typo.
messaging-api-line
- [new] Support message factories:
- LINE.createText
- LINE.createImage
- LINE.createVideo
- createAudio
- createLocation
- createSticker
- createImagemap
- createTemplate
- createButtonTemplate
- createConfirmTemplate
- createCarouselTemplate
- createImageCarouselTemplate
For example:
const { LINE } = require('messaging-api-line');
client.reply(REPLY_TOKEN, [
LINE.createText('Hello'),
LINE.createImage(
'https://example.com/original.jpg',
'https://example.com/preview.jpg'
),
LINE.createText('End'),
]);
0.3.4 / 2017-09-13
- [docs] Show method arguments in tables.
messaging-api-messenger
- [new] Support message batching via
sendBatch
:
const { Messenger } = require('messaging-api-messenger');
client.sendBatch([
Messenger.createText(USER_ID, '1'),
Messenger.createText(USER_ID, '2'),
Messenger.createText(USER_ID, '3'),
Messenger.createText(USER_ID, '4'),
Messenger.createText(USER_ID, '5'),
]);
0.3.3 / 2017-09-07
- publish docs changes to npm.
0.3.2 / 2017-09-05
messaging-api-line
- [new] Support ImageCarouselTemplate methods
- replyImageCarouselTemplate
- pushImageCarouselTemplate
- multicaseImageCarouselTemplate
0.3.1 / 2017-08-31
messaging-api-messenger
- [new] using
AttachmentPayload
to send cached attachment:
client.sendImage(USER_ID, { attachment_id: '55688' });
client.sendAudio(USER_ID, { attachment_id: '55688' });
client.sendVideo(USER_ID, { attachment_id: '55688' });
client.sendFile(USER_ID, { attachment_id: '55688' });