Skip to content

while1matan/Telegram-Bots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Telegram-Bots

PHP class to easily create bots for telegram.

Changelog

v2 - 2017-11-03

  • [Added] PHP errors handling: Runtime Errors will be logged in the bot's log file.
  • [Added] secret GET-param check, use $bot->restrictAccess(WEBHOOK_SECRET); to set an access code.
  • [Added] Webhook set/unset check, use $bot->handleWebhook(WEBHOOK_URL); to set a webhook url.
  • [Fixed] update-id bug. The update_id sequence is considered old after 24 hours.
  • [Changed] Bot's username is now required and being stored on class creation.
  • [Changed] findCommand() doesn't get the $botUserName parameter anymore.
  • [Changed] InlineKeyboard converted to a new object.

Bots using this class

My Bots:

Others Bots:

About

PHP class to create bots for telegram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages