PHP class to easily create bots for telegram.
- [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.
- Random Things Picker (by Asaf)
- Yes No (by Asaf | Source)