refactor: og and msg history mark

This commit is contained in:
Tristan Yang
2023-03-14 22:01:18 +08:00
parent b7882fb890
commit 546898556e
6 changed files with 126 additions and 64 deletions
+23 -25
View File
@@ -34,34 +34,32 @@ export interface UploadResponse {
}
// Open Graph
export interface OG {
type: string;
type?: string;
title: string;
url: string;
images: [
{
type?: string;
url: string;
secure_url?: string;
width?: number;
height?: number;
alt?: string;
}
images: {
type?: string;
url: string;
secure_url?: string;
width?: number;
height?: number;
alt?: string;
}[
];
audios: [
{
type?: string;
url: string;
secure_url?: string;
}
];
videos: [
{
type?: string;
url: string;
secure_url?: string;
width: number;
height: number;
}
audios: {
type?: string;
url: string;
secure_url?: string;
}[];
videos: {
type?: string;
url: string;
secure_url?: string;
width: number;
height: number;
}[
];
favicon_url?: string;
description?: string;