Transmit preview link

This commit is contained in:
Michael 2021-07-04 06:30:54 +00:00
parent 3780e51806
commit 5ee0f6e5e1
3 changed files with 43 additions and 19 deletions

View file

@ -126,6 +126,7 @@ class Processor
$data['url'] = $attachment['url'];
$data['mimetype'] = $attachment['mediaType'];
$data['height'] = $attachment['height'] ?? null;
$data['width'] = $attachment['width'] ?? null;
$data['size'] = $attachment['size'] ?? null;
$data['preview'] = $attachment['image'] ?? null;
$data['description'] = $attachment['name'] ?? null;