Library referenceTypes
AppNotification
type AppNotification = {
category: "followers" | "clan" | "hub" | "inbox";
from: AppNotificationSender;
link?: string;
notification_id: number;
read: boolean;
read_at?: string;
sent_at: string;
subject: string;
text: string;
};one row of GET /app/v1/notifications, a Krunker Mail
Properties
| Property | Type | Description |
|---|---|---|
category | "followers" | "clan" | "hub" | "inbox" | the in-game mail tab |
from | AppNotificationSender | - |
link? | string | the game's own reference for the mail, often a player or clan name |
notification_id | number | - |
read | boolean | - |
read_at? | string | - |
sent_at | string | - |
subject | string | - |
text | string | - |