2017 © Pedro PelĂĄez
 

library phbot

PHP Library for Telegram Bots

image

mvs/phbot

PHP Library for Telegram Bots

  • Friday, May 11, 2018
  • by WalderlanSena
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

, (*1)

Connect API Telegram


$app = new ApiConnectTelegram([ 'token' => '<SEU TOKEN>' ]);

Use get update Message


try { $request = $app->getUpdates(); } catch (\Exception $exception) { echo $exception->getMessage(); }

Use Send Message


$data = [ 'chat_id' => 0, 'text' => '<SUA MENSAGEM>' ]; try { $request = $app->sendMessage($data); } catch (\Exception $exception) { echo $exception->getMessage(); }

License

A biblioteca Phbot é um software de código aberto licenciado sob a licença MIT license., (*2)

The Versions

11/05 2018

dev-master

9999999-dev

PHP Library for Telegram Bots

  Sources   Download

MIT

The Requires

 

11/05 2018

1.0.0

1.0.0.0

PHP Library for Telegram Bots

  Sources   Download

MIT

The Requires