Class AnnouncementController
Constructors
Properties
Protected Readonlyapplication
Methods
Protectederror
- error(status, body?, headers?): Response<unknown>
Parameters
- status: number
Optionalbody: unknownOptionalheaders: Record<string, string>
Returns Response<unknown>
getLatest
- getLatest(): {
content: string;
from: string;
timestamp: number;
title: string;
} Returns {
content: string;
from: string;
timestamp: number;
title: string;
}
content: string
from: string
timestamp: number
title: string