PhpBotFramework
2.0.2
A framework for Telegram Bots' APIs.
|
Handle users status. More...
Public Member Functions | |
__construct (BasicBot &$bot) | |
int | getStatus (int $default_status=-1) |
Get current user status from Redis and set it in status variable. More... | |
setStatus (int $status) | |
Set the status of the bot in both Redis and $status. More... | |
Public Attributes | |
$status | |
Current status of the user. | |
Handle users status.