Initialize inline_keyboard array in the constructor
This commit is contained in:
parent
3b207469bd
commit
b30d70db98
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue