Add keyboard markup tests and constructors to objects

This commit is contained in:
netkas 2024-10-09 17:50:57 -04:00
parent 560721ffc8
commit 0298049ca2
5 changed files with 255 additions and 13 deletions

View file

@ -10,6 +10,15 @@
private bool $remove_keyboard;
private bool $selective;
/**
* ReplyKeyboardRemove constructor.
*/
public function __construct()
{
$this->remove_keyboard = false;
$this->selective = false;
}
/**
* Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want
* to hide the keyboard from sight but keep it accessible, use one_time_keyboard in ReplyKeyboardMarkup)