iceshrimp-legacy/packages/megalodon/lib/src/entities/card.d.ts

17 lines
396 B
TypeScript

declare namespace Entity {
type Card = {
url: string;
title: string;
description: string;
type: 'link' | 'photo' | 'video' | 'rich';
image?: string;
author_name?: string;
author_url?: string;
provider_name?: string;
provider_url?: string;
html?: string;
width?: number;
height?: number;
};
}