public function toArray()
{
$this->checkRecipient();
return ['recipient' => ['id' => $this->recipient_id], 'message' => ['attachment' => ['type' => 'template', 'payload' => ['template_type' => 'generic', 'elements' => MessengerUtils::checkArraySize($this->cards, 10)]]]];
}