File: |
src/BotMan.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Class source |
Class: |
BotMan
A framework agnostic PHP library to build chat bot |
Author: |
By Marcel Pociot |
Last change: |
Added bot_id config parameter. new IncomingMessage with bot_id: using in getConversationIdentifier (#1207)
Co-authored-by: Art <alchemistt@ukr.net>
Allow BotMan to hear from an array of commands (#855)
* Allow BotMan to register the same callback to multiple events.
* Allow BotMan to hear from an array of commands
If the $pattern parameter is an array, implode it using the pipe character
Also improved getBot method on tests to send 2 messages at the same time.
* Reset the group matching to prevent losing the parameters on callback
Added OutgoingMessage type to BotMan::reply() $message parameter (#1104)
Allow any callable as a callback (#1102)
|
Date: |
2 months ago |
Size: |
21,491 bytes |
|
|
|