Interface User

The user payload.


Example

{
"id": 48615849987333,
"username": "yendri",
"display_name": "Nicolas",
"social_credit": -69420,
"status": "ayúdame por favor",
"bio": "NICOLAAAAAAAAAAAAAAAAAAS!!!\n\n\nhttps://cdn.eludris.gay/static/nicolas.mp4",
"avatar": 2255112175647,
"banner": 2255049523230,
"badges": 0,
"permissions": 0
}

Hierarchy

  • User

Properties

avatar?: null | number

The user's avatar. This field has to be a valid file ID in the "avatar" bucket.

badges: number

The user's badges as a bitfield.

banner?: null | number

The user's banner. This field has to be a valid file ID in the "banner" bucket.

bio?: null | string

The user's bio. The upper limit is the instance's InstanceInfo bio_limit.

display_name?: null | string

The user's display name. This field has to be between 2 and 32 characters long.

id: number

The user's ID.

permissions: number

The user's instance-wide permissions as a bitfield.

social_credit: number

The user's social credit score.

status?: null | string

The user's status. This field cannot be more than 128 characters long.

username: string

The user's username. This field has to be between 2 and 32 characters long.