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 {
2023-09-25 08:20:03 +09:00
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;
};
2023-09-24 01:49:47 +09:00
}