export interface INewsItem { feedId: string, newsId: number, link: string | "", title: string | "", author: string, contents: string, embedColor: number | 0xffffff, needsTranslation?: boolean; } export interface INewsPostData { hash?: string, cacheMessageId?: string, postedMessageId?: string, } export type NewsPostItem = INewsItem & INewsPostData; export interface IAggregator { aggregate() : Promise; init?(): void; }