Skip to content

$oldUser

$oldUser holds data of the old user, used in update user event, or else any data will be empty.

Usage

$oldUser[option]

Parameters

FieldTypeDescriptionRequired
optionstringOption to retrievetrue

Options

OptionTypeDescription
namestringReturns user name
tagstringReturns user tag
bannerstringReturns user banner hash
bannerURLstringReturns user banner URL
createdAtdateReturns the time when user was created
createdTimestampnumberReturns user created timestamp
accentColornumberReturns base 10 accent color of user’s banner