PhpBotFramework  2.0.2
A framework for Telegram Bots' APIs.
Public Member Functions | List of all members
PhpBotFramework\Test\FakeUpdate Class Reference
Inheritance diagram for PhpBotFramework\Test\FakeUpdate:
PhpBotFramework\Test\TestBot

Public Member Functions

int processFakeUpdate (array $update)
 Process fake update for testing purpose. More...
 

Member Function Documentation

◆ processFakeUpdate()

int PhpBotFramework\Test\FakeUpdate::processFakeUpdate ( array  $update)

Process fake update for testing purpose.

Parameters
array$updateFake update.
Returns
int processed update's ID.

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