File: src/BotMan.php

Recommend this page to a friend!
  Classes of Marcel Pociot  >  BotMan  >  src/BotMan.php  
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
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

You need to be a registered user and login to get this file.

1,573,370 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmailHotmailStackOverflowGitHubYahoo

For more information send a message to info at phpclasses dot org.