Skip to Content

User

User object

FieldTypeDescription
idlong
avatarstring
display_namestring
usernamestringusername in lowercase, special characters - and _ allowed
email?stringnot null only in GET and PATCH /users/@me
channels?array of channel objectsnot null only in GET and PATCH /users/@me
flagslonguser flags
typeintegeruser type
created_attimestamp

User flags

ValueFlagDescription
1 << 0 (1)AWAITING_CONFIRMATIONUser wait for email confirmation
1 << 1 (2)EMAIL_VERIFIEDUser has a verified email
1 << 2 (4)DISABLEDUser disabled

User types

ValueType
1USER
2BOT