Initialize inline_keyboard array in the constructor

This commit is contained in:
netkas 2024-10-07 13:46:49 -04:00
parent 3b207469bd
commit b30d70db98

View file

@ -12,6 +12,14 @@
*/
private array $inline_keyboard;
/**
* InlineKeyboardMarkup constructor.
*/
public function __construct()
{
$this->inline_keyboard = [];
}
/**
* Array of button rows, each represented by an Array of InlineKeyboardButton objects
*