Skip to content

five-on-it / apps/client/src/ui/social-view / ChatEntry

Interface: ChatEntry ​

Defined in: apps/client/src/ui/social-view.ts:19

One line of the chat log.

Properties ​

about? ​

optional about?: string

Defined in: apps/client/src/ui/social-view.ts:32

Whom a line of the room's own is about.


account? ​

optional account?: string

Defined in: apps/client/src/ui/social-view.ts:26


at ​

at: number

Defined in: apps/client/src/ui/social-view.ts:38

When it arrived (ms, the page's clock).


channel ​

channel: "party" | "room" | "direct"

Defined in: apps/client/src/ui/social-view.ts:23

The room's channel, the party's, or a direct message.


client? ​

optional client?: number

Defined in: apps/client/src/ui/social-view.ts:27


hidden? ​

optional hidden?: boolean

Defined in: apps/client/src/ui/social-view.ts:36

Hidden by the moderation: only its sender sees it, marked.


key ​

key: string

Defined in: apps/client/src/ui/social-view.ts:21

Unique in the log: where it came from and its number there.


kind ​

kind: "text" | "quick" | "emote" | "system"

Defined in: apps/client/src/ui/social-view.ts:29

A player's text, a quick-chat phrase's id, an emote's id, or the room's own line's id.


name ​

name: string

Defined in: apps/client/src/ui/social-view.ts:25

Who said it: their name, their account, and in the room their client id (0 for the room itself).


text ​

text: string

Defined in: apps/client/src/ui/social-view.ts:30


to? ​

optional to?: string

Defined in: apps/client/src/ui/social-view.ts:34

Whom a direct message went to (its sender sees it too).