Variable DirectShareSourceSchemaConst
DirectShareSourceSchema: Union<
readonly [
Struct<
{
carousel_share_child_media_id: optionalKey<String>;
inventory_source: optionalKey<String>;
kind: Literal<"post">;
media_id: String;
media_type: Number;
ranking_info_token: optionalKey<String>;
send_attribution: Literal<"feed_timeline">;
},
>,
Struct<
{
carousel_share_child_media_id: optionalKey<String>;
kind: Literal<"carousel">;
media_id: String;
media_type: Number;
send_attribution: Literal<"feed_contextual_profile">;
},
>,
Struct<{ kind: Literal<"reel">; media_id: String }>,
Struct<
{
kind: Literal<"profile">;
send_attribution: Literal<"profile">;
user_id: String;
},
>,
],
> = ...
What the share sheet shares, one shape per source the app shares from. The source screen passes the ids its own answer carried (the media's container id, a carousel child, the reel's pk, a profile's user id) beside the attribution and inventory the app echoes from the surface the share started on; the person chooses none of them.