Telegram Actions
Control your Telegram bot with comands.
Install
npm install telegram-actions --save
Example
; ;;bot.start;
More examples
Reference
-
Action: Action interface
-
TelegramActions
- constructor(token, defaultActions)
- start(TelegramActions)
- addActions(Action[])
- defaultActions: The default action is echo function. If you write echo .... the bot response with the same message.
Extra Actions
You can found configure Wiki.
Donation
If this project help you reduce time to develop, you can give me a cup of coffee :)
License
The MIT License (MIT)
Copyright © 2017 Silvelo