danog\MadelineProto\EventHandler\Keyboard\ReplyKeyboard
Author: Daniil Gentili daniil@daniil.it
Represents a reply keyboard.
Properties
$buttons
:non-empty-list<non-empty-list<Button>>
Method list:
fromRawReplyMarkup(array $rawReplyMarkup): ?self
pressByCoordinates(int $row, int $column, bool $waitForResult): mixed
press(string $label, bool $waitForResult): mixed
Methods:
fromRawReplyMarkup(array $rawReplyMarkup): ?self
Parameters:
$rawReplyMarkup
:array
pressByCoordinates(int $row, int $column, bool $waitForResult): mixed
Press button at the specified keyboard coordinates.
Parameters:
$row
:int
$column
:int
$waitForResult
:bool
If 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
:bool
If true, waits for a result from the bot before returning.
Generated by danog/phpdoc