PHP Classes

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 <>
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: 1 year ago
Size: 21,491 bytes

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

Login Immediately with your account on:

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