Releases: bottenderjs/messaging-apis
Releases · bottenderjs/messaging-apis
0.3.0 / 2017-08-29
- [docs] A big improvement.
messaging-api-messenger
- [breaking] Renamed messenger typing methods:
turnTypingIndicatorsOn => typingOn
turnTypingIndicatorsOff => typingOff
- [breaking] Removed tagged template methods:
- sendTaggedTemplate
- sendShippingUpdateTemplate
- sendReservationUpdateTemplate
- sendIssueResolutionTemplate
- sendAppointmentUpdateTemplate
- sendGameEventTemplate
- sendTransportationUpdateTemplate
- sendFeatureFunctionalityUpdateTemplate
- sendTicketUpdateTemplate
Use tag
option instead:
client.sendText(USER_ID, 'Hello!', { tag: 'ISSUE_RESOLUTION' });
client.sendGenericTemplate(
USER_ID,
[
{
// ...
},
],
{ tag: 'ISSUE_RESOLUTION' }
);
- [breaking] Renamed
topElementStyle
tooptions.top_element_style
insendListTemplate
@6840ec7 - [breaking] Renamed
ratio
tooptions.image_aspect_ratio
insendGenericTemplate
@701e717
messaging-api-slack
- [breaking] Removed
SlackClient
export, usingSlackOAuthClient
orSlackWebhookClient
instead. - [breaking]
getUserList
now returns object includes cursor.
messaging-api-telegram
- [breaking] Changed
contact.firstName
tocontact.first_name
, andcontact.phoneNumber
tocontact.phone_number
insendContact
method.