Variable TimelineFeedMediaSchemaConst
TimelineFeedMediaSchema: Struct<
{
code: String;
id: String;
injected: optionalKey<
NullOr<
Struct<{ ad_id: optionalKey<Union<readonly [String, Number]>> }>,
>,
>;
logging_info_token: optionalKey<String>;
media_type: Number;
pk: optionalKey<Union<readonly [String, Number]>>;
product_type: optionalKey<String>;
taken_at: optionalKey<Number>;
user: optionalKey<
Struct<{ pk: Union<readonly [String, Number]>; username: String }>,
>;
},
> = ...
The wire forms the library models: one media's identity and author, and one entry of
feed_items— a post (media_or_ad), an Explore story (explore_storywith its own media), the "You're all caught up" line (end_of_feed_demarcator), the Threads block (threads_in_feed_unit) or the suggested-reels block (clips_netego). The interfaces above describe the whole answer for callers; a caller that needs a page checked reads it with these schemas, so an entry of any other kind fails instead of disappearing.