2021-01-08 19:39:32 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2021-10-26 19:15:33 +00:00
|
|
|
import type { AttachmentType } from '../Attachment';
|
2021-01-08 19:39:32 +00:00
|
|
|
|
2021-01-14 18:07:05 +00:00
|
|
|
export type LinkPreviewType = {
|
2021-01-08 19:39:32 +00:00
|
|
|
title: string;
|
|
|
|
description?: string;
|
|
|
|
domain: string;
|
|
|
|
url: string;
|
|
|
|
isStickerPack: boolean;
|
2021-10-05 22:10:08 +00:00
|
|
|
image?: Readonly<AttachmentType>;
|
2021-01-08 19:39:32 +00:00
|
|
|
date?: number;
|
2021-01-14 18:07:05 +00:00
|
|
|
};
|