Skip to content

UserPayload

UserPayload

A class representing a user payload.

Kind: global class

UserPayload.create(payload) ⇒ Object

Creates a user object based on the given payload.

Kind: static method of UserPayload
Returns: Object - - The created user object.

ParamTypeDescription
payloadObjectThe payload object containing user information.
payload.usernamestringThe username of the user.
payload.biostringThe bio of the user.
payload.avatarstringThe avatar image of the user.
payload.avatarDecorationsstringThe avatar decorations image of the user.