Represents a user and their basic profile information. This interface provides details about the user's identity, profile, and relationship with the current viewer.

interface User {
    followed_by_viewer: boolean;
    full_name: string;
    id: string;
    is_verified: boolean;
    profile_pic_url: string;
    username: string;
}

Properties

followed_by_viewer: boolean

Indicates whether the user is followed by the viewer. If true, the current viewer is a follower of this user.

full_name: string

The full name of the user as displayed on their profile.

id: string

The unique identifier of the user.

is_verified: boolean

Indicates whether the user's account is verified. A verified account typically signifies authenticity.

profile_pic_url: string

The URL of the user's profile picture. This is typically a link to an image resource.

username: string

The username of the user. This is the unique handle associated with the user, used for mentions and identification.