PhpBotFramework  2.0.2
A framework for Telegram Bots' APIs.
Public Member Functions | Protected Member Functions | List of all members
PhpBotFramework\Core\Updates Class Reference

All API Methods that get updates from telegram or handle webhooks. More...

Inheritance diagram for PhpBotFramework\Core\Updates:
PhpBotFramework\Core\CoreBot PhpBotFramework\BasicBot PhpBotFramework\Bot PhpBotFramework\Test\TestBot

Public Member Functions

 setWebhook (array $params)
 Set bot's webhook. More...
 
Array false getWebhookInfo ()
 Get information about bot's webhook. More...
 
 deleteWebhook ()
 Delete bot's webhook. More...
 
Array false getUpdates (int $offset=0, int $limit=100, int $timeout=60)
 Request bot updates. More...
 
 setUpdateReturned (array $allowed_updates=[])
 Set updates received by the bot for getUpdates handling. More...
 

Protected Member Functions

 execRequest (string $url)
 

Detailed Description

All API Methods that get updates from telegram or handle webhooks.


The documentation for this class was generated from the following file: