PHP Class Longman\TelegramBot\Entities\KeyboardButton

Inheritance: extends Entity
显示文件 Open project: akalongman/php-telegram-bot Class Usage Examples

Public Methods

Method Description
__call ( $method, $args )
__construct ( $data )
couldBe ( array $data ) : boolean Check if the passed data array could be a KeyboardButton.

Protected Methods

Method Description
validate ( )

Method Details

__call() public method

public __call ( $method, $args )

__construct() public method

public __construct ( $data )

couldBe() public static method

Check if the passed data array could be a KeyboardButton.
public static couldBe ( array $data ) : boolean
$data array
return boolean

validate() protected method

protected validate ( )