PHP Trait Telegram\Bot\Answers\Answerable

Show file Open project: irazasyed/telegram-bot-sdk

Protected Properties

Property Type Description
$telegram Holds the Super Class Instance.
$update Holds an Update object.

Public Methods

Method Description
__call ( $method, $arguments ) : mixed | string Magic Method to handle all ReplyWith Methods.
getTelegram ( ) : Api
getUpdate ( ) : Update

Method Details

__call() public method

Magic Method to handle all ReplyWith Methods.
public __call ( $method, $arguments ) : mixed | string
$method
$arguments
return mixed | string

getTelegram() public method

public getTelegram ( ) : Api
return Telegram\Bot\Api

getUpdate() public method

public getUpdate ( ) : Update
return Telegram\Bot\Objects\Update

Property Details

$telegram protected property

Holds the Super Class Instance.
protected $telegram

$update protected property

Holds an Update object.
protected $update