-
- Added
Rule.xor
helper
- Added
-
- Added
check
property into Rule
- Added
-
- Improved documentation
-
- Added tests for
check
property andRule.xor
- Added tests for
-
- Fixed #8
-
- Added
after
rule property
- Added
-
- Added
command
rule property
- Added
-
- Added test for
after
andcommand
properties in Rule
- Added test for
-
- Fixed missing Sticker class in exports
-
- Fixed response ID by adding
direct
parameter
- Fixed response ID by adding
-
- added
sendChatAction
method
- added
-
- fixed README
- *Fixed
getUpdates
signature
-
- Added support for next types:
-
Locations
-
Contacts
-
Venues
-
Documents
-
Voice
-
Audio
-
Photo
-
Video
-
Sticker
-
- Added specific response classes
-
- Changed one simple format of Response to multiple classes
Text, Location, Keyboard, Photo ...
- Changed one simple format of Response to multiple classes
-
- Changed format of Response descriptions
-
- Renamed
send
->sendMessage
- Renamed
-
- Renamed
keyboard
->sendKeyboard
- Renamed
-
- Fixed error with multiple instaces of bot sharing one token
-
- Improved infrastructure
-
- Write more tests for rules and responses
-
- Added docs for
getUpdates
- Added docs for
-
- Fixed Makefile
-
- Fixed tescases
-
- Added tests
-
- Added
sendSticker
Response and method for bot
- Added
-
- Changed
sendMessages
format in Response
- Changed
-
- Added
sendPhoto
to bot's methods
- Added
-
- Added
sendKeyboard
to Response descriptions
- Added
-
- Added
sendPhoto
to Response descriptions
- Added
-
- Improved Response sending formats with varargs as list of arguments
-
- Improved error handling
-
- Fixed
bot.keyboard
method
- Fixed
-
- Fixed infrastructure errors
-
- Added regular expressins into rule matchings
-
- Added
transform
in rules
- Added
-
- Added
Rule.all
- for checking list of matches by AND operator
- Added
-
- Changed simple response interpolation
name
->username
- Changed simple response interpolation
-
- Added documentation for Rules
-
- Added test server (requires Flask)
-
- Added creating Response object via Rule class instance
-
- Changed
action
in Rules. Now gets 3 arguments - bot instance, update and parsed body of update
- Changed
-
- Changed
setWebhook
method. Now it is bot's method not method frombobot
library
- Changed
-
- Moved
execRule
method to Rule class, not it is public method of Rules
- Moved
-
- Fixed: behavior of bot when Rule has action but not response
-
- Added
Response
class and subscribing viabot.on('msg', responseDescribe)
- Added
-
- Added custom body parsing. By default as a simple text (
id => id
function)
- Added custom body parsing. By default as a simple text (
-
- Added user registering via rule option
register
- Added user registering via rule option
-
- Added multiple message sending with
Response
class API
- Added multiple message sending with