Type Alias: Contact
Contact =
object
Defined in: contacts.ts:17
A participant in a chat: an NPC, a channel, or the player.
Remarks
Contacts are definitions, not persisted state. Their ids end up inside saved transcripts, so treat a contact id like a passage id: never rename it once a game has shipped.
Properties
avatar?
readonlyoptionalavatar:string
Defined in: contacts.ts:24
Avatar image, used as the fallback avatar of a direct chat.
id
readonlyid:string
Defined in: contacts.ts:18
meta?
readonlyoptionalmeta:Record<string,unknown>
Defined in: contacts.ts:27
Arbitrary author data, for example a phone number or an online flag.
name?
readonlyoptionalname:PlainRichText
Defined in: contacts.ts:21
Display name, resolved through i18next when built with m.t().