Skip to content

Documentation / @imvu/client / parseChatPayload

Function: parseChatPayload() ​

ts
function parseChatPayload(raw): ChatPayload | null;

Defined in: packages/client/src/chat/protocol.ts:32

Decode a chat mount message into a payload, or null if it is not chat.

Parameters ​

ParameterType
rawunknown

Returns ​

ChatPayload | null

Released under the MIT License.