Using inline keyboard telegram make response with reply_markup: {inline_keyboard: [...]}.Message::fromResponse($response) generate error ArgumentCountError : Too few arguments to function TelegramBot\Api\Types\Inline\InlineKeyboardMarkup::__construct(), 0 passed in BaseType::fromResponse method at line $instance = new static() because it tries to generate InlineKeyboardMarkup class with empty constructor
Using inline keyboard telegram make response with reply_markup:
{inline_keyboard: [...]}.
Message::fromResponse($response)
generate errorArgumentCountError : Too few arguments to function TelegramBot\Api\Types\Inline\InlineKeyboardMarkup::__construct(), 0 passed
inBaseType::fromResponse
method at line$instance = new static()
because it tries to generate InlineKeyboardMarkup class with empty constructor