Announcement: {
all_day: boolean;
content: string;
emojis: {
category: string | null;
shortcode: string;
static_url: string;
url: string;
visible_in_picker: boolean;
}[];
ends_at: string
| null;
id: string;
mentions: { acct: string; id: string; url: string; username: string }[];
published_at: string;
reactions: {
announcement_id: string;
count: number;
me: boolean;
name: string;
static_url: string | null;
url: string | null;
}[];
read: boolean;
starts_at: string
| null;
statuses: { [key: string]: string };
tags: {
following?: boolean;
history: { accounts: number; day: number; uses: number }[] | null;
name: string;
total: number | null;
url: string;
}[];
updated_at: string;
}
Type Declaration
all_day: boolean
content: string
emojis: {
category: string | null;
shortcode: string;
static_url: string;
url: string;
visible_in_picker: boolean;
}[]
ends_at: string | null
id: string
mentions: { acct: string; id: string; url: string; username: string }[]
published_at: string
reactions: {
announcement_id: string;
count: number;
me: boolean;
name: string;
static_url: string | null;
url: string | null;
}[]
read: boolean
starts_at: string | null
statuses: { [key: string]: string }
updated_at: string