Represents the owner of a media item, such as a user or entity that manages the content. This interface defines the properties associated with the owner, including their profile information, account status, and relationships with the viewer.

interface Owner {
    blocked_by_viewer: boolean;
    edge_followed_by: EdgeFollowedByClass;
    edge_owner_to_timeline_media: EdgeFollowedByClass;
    followed_by_viewer: boolean;
    full_name: string;
    has_blocked_viewer: boolean;
    id: string;
    is_embeds_disabled: boolean;
    is_private: boolean;
    is_unpublished: boolean;
    is_verified: boolean;
    pass_tiering_recommendation: boolean;
    profile_pic_url: string;
    requested_by_viewer: boolean;
    restricted_by_viewer: null;
    username: string;
}

Properties

blocked_by_viewer: boolean

Indicates whether the viewer is blocked by the owner.

edge_followed_by: EdgeFollowedByClass

Represents the number of followers the owner has. Includes additional details if provided by the EdgeFollowedByClass.

edge_owner_to_timeline_media: EdgeFollowedByClass

Represents the timeline media associated with the owner, including details about the media items they own.

followed_by_viewer: boolean

Indicates whether the owner is followed by the viewer.

full_name: string

The full name of the owner.

has_blocked_viewer: boolean

Indicates whether the owner has blocked the viewer.

id: string

The unique identifier of the owner.

is_embeds_disabled: boolean

Indicates whether the embedding of the owner's content is disabled.

is_private: boolean

Indicates whether the owner's account is private.

is_unpublished: boolean

Indicates whether the owner's account is unpublished.

is_verified: boolean

Indicates whether the owner's account is verified.

pass_tiering_recommendation: boolean

Indicates whether the owner has passed the tiering recommendation.

profile_pic_url: string

The URL of the owner's profile picture.

requested_by_viewer: boolean

Indicates whether the viewer has requested to follow the owner.

restricted_by_viewer: null

Indicates whether the viewer has restricted the owner. This property will be null if no restriction is applied.

username: string

The username of the owner.