Skip to main content

View as Markdown · AI documentation index

Function: resolveSenderName()

resolveSenderName(id): string

Defined in: contacts.ts:103

Resolves a sender id to a display name.

Falls back to the sender id when the contact has no name or was never defined, so an unknown sender still renders something meaningful.

Parameters​

id​

string

Contact id, "player", or "system"

Returns​

string