123456789101112131415161718192021222324 |
- 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<INewsItem[]>;
- init?(): void;
- }
|