Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1.0.0 / 2019-12-05
create-bottender-app
. You can use following command to create your new bot:bottender start
cli. It findsindex.js
entry andbottender.config.js
config file then executes accordingly:To enable console mode:
bottender dev
cli:The bot server will be restarted after changing the files.
Action:
Pass Props to Action:
Router:
Chain:
_error.js
entry support for error handling:middleware
and Handlers has been moved to@bottender/handlers
package. You can install it from registry:And import them like this:
Messenger -
Slack -
Telegram -
Viber -
[breaking] rename
skipProfile
toskipLegacyProfile
, and set to true by default[breaking] unify requestContext (changed(Context): unify requestContext #541)
[deps] update
messaging-apis
to v1[examples] Rewrite all examples for Bottender v1
[docs] A brand-new website with new docs - https://bottender.js.org?new
messenger
pageId
config to automatically add subscribe app inbottender messenger webhook set
.get-started
,greeting
,persistent-menu
,whitelisted-domains
cli subcommands has been removed. Useprofile
instead:bottender messenger profile get bottender messenger profile set bottender messenger profile delete
context.sendAirlineFlightUpdateTemplate()
.line
context.getMessageContent()
. You can use it to get received media content:sendMethod
toreply
andshouldBatch
totrue
by default.menu
cli subcommand has been removed.slack
token
in payload when received a JSON string payload.telegram
context.sendAnimation()
:context.sendPoll()