sharkey/packages/megalodon/src/entities/card.ts

17 lines
317 B
TypeScript
Raw Normal View History

2023-09-24 01:49:47 +09:00
namespace Entity {
export 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;
};
}