Skip to content

ChatMessagePayload ​

@vimp-mp/types 2.0.1

Interface · Client API

Chat message delivered by the multiplayer server.

ts
interface ChatMessagePayload

Members ​

authorId ​

ts
authorId: number

Server/network ID of the message author.

authorName ​

ts
authorName: string

Display name of the message author.

text ​

ts
text: string

Message body.

timestamp ​

ts
timestamp: number

Message timestamp supplied by the runtime.

VIMP developer documentation