1
0
Fork 0

Support Blurhash

This commit is contained in:
Michael 2022-12-04 13:29:21 +00:00
commit a5be5b27e3
16 changed files with 152 additions and 17 deletions

View file

@ -52,6 +52,8 @@ class Card extends BaseDataTransferObject
protected $height;
/** @var string */
protected $image;
/** @var string */
protected $blurhash;
/**
* Creates a card record from an attachment array.
@ -72,6 +74,7 @@ class Card extends BaseDataTransferObject
$this->width = $attachment['width'] ?? 0;
$this->height = $attachment['height'] ?? 0;
$this->image = $attachment['image'] ?? '';
$this->blurhash = $attachment['blurhash'] ?? '';
$this->history = $history;
}