51d324aa6c576392675ce82a0b348481869304a2
tg-bot
If you know, you know
-
src/entryPoint.phpis the main entry-point function. It will look through all registered implementations of MessageHandler and take the first one that successfully handled the message. Register new message handler here. -
src/MessageHandler.phpis the abstract class for message handlers. It has a pre-implemented functions to send responses. -
src/repl.phpis a REPL to send test messages to the entryPoint, intended for quick tests, using PHP CLI. -
test/is for PHPUnit tests. It is quite empty atm and only contain a placeholder. -
Change
$tokeninMessageHandler.php -
Change defines on top of
entryPoint.php
Description