2019-03-25 21:23:04 +01:00
|
|
|
/**
|
|
|
|
* Basic type for an attachment, usually on Statuses
|
|
|
|
*/
|
|
|
|
export type Attachment = {
|
|
|
|
id: string;
|
2019-11-11 17:31:04 +01:00
|
|
|
type: "unknown" | "image" | "gifv" | "audio" | "video";
|
2019-03-25 21:23:04 +01:00
|
|
|
url: string;
|
|
|
|
remote_url: string | null;
|
|
|
|
preview_url: string;
|
|
|
|
text_url: string | null;
|
|
|
|
meta: any | null;
|
|
|
|
description: string | null;
|
2019-09-18 19:52:39 +02:00
|
|
|
};
|