15 lines
312 B
TypeScript
15 lines
312 B
TypeScript
|
// Copyright 2021 Signal Messenger, LLC
|
||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||
|
|
||
|
import { AttachmentType } from '../Attachment';
|
||
|
|
||
|
export interface LinkPreviewType {
|
||
|
title: string;
|
||
|
description?: string;
|
||
|
domain: string;
|
||
|
url: string;
|
||
|
isStickerPack: boolean;
|
||
|
image?: AttachmentType;
|
||
|
date?: number;
|
||
|
}
|