Interface APIClientUser

The user data retrieved from /account

Hierarchy

Properties

about: string

User's about bio
? Can be an empty string

are_you_blocked: boolean

Did the user block the client

bans: APIBanSmall[]

Array of APIBan objects.

birth_date: string

YYYY-MM-DD

block_type?: "user" | "installation"

Block type if the user is blocked

cover_bg_color?: string

User's cover image background color

Example

'55ff00'
cover_url?: string

User's cover image url

Example

https://img.ifunny.co/user_covers/${string}.webp

email: string

The email attached to the Client's account

have_unnotified_achievements: boolean

Does the client have unnotified achievements

have_unnotified_bans: boolean

Does the Client have unnotified bans

have_unnotified_levels: boolean

Does the client have unnotified levels

have_unnotified_strikes: boolean

Does the client have unnotified strikes

hometown: string

Hometown of the client. Can be an empty string

id: string

User's unique id
? Never changes

is_available_for_chat: boolean

Can the Client chat with the user

is_banned: boolean

Is the user banned
! UNSAFE TO CHECK FOR ACTIVE BANS

is_blocked: boolean

Is the user blocked by the client

is_blocked_in_messenger: boolean

Is the client blocked from using chats

is_deleted: boolean

Is the user deleted from iFunny's servers
? if true, many properties will be undefined

is_ifunny_team_member: boolean

Is the client an iFunny staff member

is_in_subscribers: boolean

Is the User subscribed to the Client

is_in_subscriptions: boolean

Is the Client subscribed to the user

is_moderator: boolean

Is the client a moderator of iFunny

is_private: boolean

Is the user's account private

is_subscribed_to_updates: boolean

Is the client subscribed to the user's notifications

is_verified: boolean

Is the user verified on iFunny

location: string

Location of the client. Can be an empty string

meme_experience: APIMemeExperience

The user's meme experience

messaging_privacy_status: "closed" | "public" | "subscribers"

The Chat privacy status of the user

messenger_active: boolean

Does the user have access to chats

messenger_token: string

Seems to always be "1010101010101010101010101010101010101010"

need_account_setup: boolean

Does the client still need to set up their account

nick: string

User's unique username
! UNSAFE FOR USER CACHING.

nick_color?: "55FF00" | "660000" | "e0b400" | "a078f0" | "ff3e52" | "ffffff"

User's nick color (Default: 55FF00)

Example

'55ff00'

User's profile stats

original_nick: string

Original nick of the user
? iFunny censors some usernames similar to the comment filter

phone?: string

The verified phone number attatched to the Client's account

phone_data?: APIClientPhoneData

Data about the phone number attatched to the Client's account'

The user's profile photo

safe_mode: boolean

Is safe mode enabled

sex: "other" | "male" | "female"

The Clinet's sex

The User's linked social accounts
Twitter, Google, Facebook

unconfirmed_phone?: string

Unverified phone number attatched to the Client's account

unconfirmed_phone_data?: APIClientPhoneData

Data about the phone number attatched to the Client's account

web_url: string

User's inapp share url

Example

https://ifunny.co/user/:nick

Generated using TypeDoc