danog\MadelineProto\EventHandler\Keyboard
Author: Daniil Gentili daniil@daniil.it
Represents an inline or reply keyboard.
Properties
$buttons:non-empty-list<non-empty-list<Button>>
Method list:
pressByCoordinates(int $row, int $column, bool $waitForResult): mixedpress(string $label, bool $waitForResult): mixed
Methods:
pressByCoordinates(int $row, int $column, bool $waitForResult): mixed
Press button at the specified keyboard coordinates.
Parameters:
$row:int$column:int$waitForResult:boolIf true, waits for a result from the bot before returning.
press(string $label, bool $waitForResult): mixed
Presses the first keyboard button with the specified label.
Parameters:
$label:string$waitForResult:boolIf true, waits for a result from the bot before returning.
Generated by danog/phpdoc