igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface DirectShareSheetItems

    The item lists of DirectShareSheetScreen: the lists of items its handle holds.

    interface DirectShareSheetItems {
        threads: readonly ScreenListItem<
            {
                at: "threads";
                item: ScreenItemDefinition<
                    "DirectShareSheetThread",
                    {
                        is_group: boolean;
                        muted?: boolean;
                        preview: readonly {
                            client_context?: string;
                            command_count?: number;
                            edit_count?: number;
                            item_id: string;
                            item_type: string;
                            media?: | {
                                height: number;
                                media_type: 1;
                                pk: string;
                                url: string;
                                width: number;
                            }
                            | {
                                height: number;
                                media_type: 2;
                                pk: string;
                                url: string;
                                width: number;
                            }
                            | {
                                media_type: 8;
                                pk: string;
                                slides: readonly { media_type: ...; pk: ...; url: ... }[];
                            };
                            message_ephemeral_lifetime_ms?: string;
                            text?: string;
                            timestamp: string;
                            user_id: string;
                        }[];
                        thread_id: string;
                        thread_title: string;
                        thread_v2_id?: string;
                        users: readonly {
                            fbid_v2?: string;
                            full_name: string;
                            pk: string;
                            username: string;
                        }[];
                    },
                    {
                        is_group: boolean;
                        muted?: boolean;
                        preview: readonly {
                            client_context?: string;
                            command_count?: number;
                            edit_count?: number;
                            item_id: string;
                            item_type: string;
                            media?: | {
                                height: number;
                                media_type: 1;
                                pk: string;
                                url: string;
                                width: number;
                            }
                            | {
                                height: number;
                                media_type: 2;
                                pk: string;
                                url: string;
                                width: number;
                            }
                            | {
                                media_type: 8;
                                pk: string;
                                slides: readonly { media_type: ...; pk: ...; url: ... }[];
                            };
                            message_ephemeral_lifetime_ms?: string;
                            text?: string;
                            timestamp: string;
                            user_id: string;
                        }[];
                        thread_id: string;
                        thread_title: string;
                        thread_v2_id?: string;
                        users: readonly {
                            fbid_v2?: string;
                            full_name: string;
                            pk: string;
                            username: string;
                        }[];
                    },
                    DirectShareSheetThreadState,
                    never,
                    never,
                    DirectShareSheetThreadItemActions,
                    {
                        share: | {
                            carousel_share_child_media_id?: string;
                            inventory_source?: string;
                            kind: "post";
                            media_id: string;
                            media_type: number;
                            ranking_info_token?: string;
                            send_attribution: "feed_timeline";
                        }
                        | {
                            carousel_share_child_media_id?: string;
                            kind: "carousel";
                            media_id: string;
                            media_type: number;
                            send_attribution: "feed_contextual_profile";
                        }
                        | { kind: "reel"; media_id: string }
                        | { kind: "profile"; send_attribution: "profile"; user_id: string };
                    },
                    never,
                    never,
                >;
                key: "thread_id";
                source: ScreenNoItemNodes;
            },
            AssembledHandle<
                "DirectShareSheet",
                "screen",
                {
                    share: | {
                        carousel_share_child_media_id?: string;
                        inventory_source?: string;
                        kind: "post";
                        media_id: string;
                        media_type: number;
                        ranking_info_token?: string;
                        send_attribution: "feed_timeline";
                    }
                    | {
                        carousel_share_child_media_id?: string;
                        kind: "carousel";
                        media_id: string;
                        media_type: number;
                        send_attribution: "feed_contextual_profile";
                    }
                    | { kind: "reel"; media_id: string }
                    | { kind: "profile"; send_attribution: "profile"; user_id: string };
                    threads: readonly {
                        is_group: boolean;
                        muted?: boolean;
                        preview: readonly {
                            client_context?: string;
                            command_count?: number;
                            edit_count?: number;
                            item_id: string;
                            item_type: string;
                            media?:
                                | {
                                    height: number;
                                    media_type: 1;
                                    pk: string;
                                    url: string;
                                    width: number;
                                }
                                | {
                                    height: number;
                                    media_type: 2;
                                    pk: string;
                                    url: string;
                                    width: number;
                                }
                                | { media_type: 8; pk: string; slides: readonly (...)[] };
                            message_ephemeral_lifetime_ms?: string;
                            text?: string;
                            timestamp: string;
                            user_id: string;
                        }[];
                        thread_id: string;
                        thread_title: string;
                        thread_v2_id?: string;
                        users: readonly {
                            fbid_v2?: string;
                            full_name: string;
                            pk: string;
                            username: string;
                        }[];
                    }[];
                },
                DirectShareSheetActions,
                DirectShareSheetItems,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,
        >[];
    }
    Index

    Properties

    Properties

    threads: readonly ScreenListItem<
        {
            at: "threads";
            item: ScreenItemDefinition<
                "DirectShareSheetThread",
                {
                    is_group: boolean;
                    muted?: boolean;
                    preview: readonly {
                        client_context?: string;
                        command_count?: number;
                        edit_count?: number;
                        item_id: string;
                        item_type: string;
                        media?: | {
                            height: number;
                            media_type: 1;
                            pk: string;
                            url: string;
                            width: number;
                        }
                        | {
                            height: number;
                            media_type: 2;
                            pk: string;
                            url: string;
                            width: number;
                        }
                        | {
                            media_type: 8;
                            pk: string;
                            slides: readonly { media_type: ...; pk: ...; url: ... }[];
                        };
                        message_ephemeral_lifetime_ms?: string;
                        text?: string;
                        timestamp: string;
                        user_id: string;
                    }[];
                    thread_id: string;
                    thread_title: string;
                    thread_v2_id?: string;
                    users: readonly {
                        fbid_v2?: string;
                        full_name: string;
                        pk: string;
                        username: string;
                    }[];
                },
                {
                    is_group: boolean;
                    muted?: boolean;
                    preview: readonly {
                        client_context?: string;
                        command_count?: number;
                        edit_count?: number;
                        item_id: string;
                        item_type: string;
                        media?: | {
                            height: number;
                            media_type: 1;
                            pk: string;
                            url: string;
                            width: number;
                        }
                        | {
                            height: number;
                            media_type: 2;
                            pk: string;
                            url: string;
                            width: number;
                        }
                        | {
                            media_type: 8;
                            pk: string;
                            slides: readonly { media_type: ...; pk: ...; url: ... }[];
                        };
                        message_ephemeral_lifetime_ms?: string;
                        text?: string;
                        timestamp: string;
                        user_id: string;
                    }[];
                    thread_id: string;
                    thread_title: string;
                    thread_v2_id?: string;
                    users: readonly {
                        fbid_v2?: string;
                        full_name: string;
                        pk: string;
                        username: string;
                    }[];
                },
                DirectShareSheetThreadState,
                never,
                never,
                DirectShareSheetThreadItemActions,
                {
                    share: | {
                        carousel_share_child_media_id?: string;
                        inventory_source?: string;
                        kind: "post";
                        media_id: string;
                        media_type: number;
                        ranking_info_token?: string;
                        send_attribution: "feed_timeline";
                    }
                    | {
                        carousel_share_child_media_id?: string;
                        kind: "carousel";
                        media_id: string;
                        media_type: number;
                        send_attribution: "feed_contextual_profile";
                    }
                    | { kind: "reel"; media_id: string }
                    | { kind: "profile"; send_attribution: "profile"; user_id: string };
                },
                never,
                never,
            >;
            key: "thread_id";
            source: ScreenNoItemNodes;
        },
        AssembledHandle<
            "DirectShareSheet",
            "screen",
            {
                share: | {
                    carousel_share_child_media_id?: string;
                    inventory_source?: string;
                    kind: "post";
                    media_id: string;
                    media_type: number;
                    ranking_info_token?: string;
                    send_attribution: "feed_timeline";
                }
                | {
                    carousel_share_child_media_id?: string;
                    kind: "carousel";
                    media_id: string;
                    media_type: number;
                    send_attribution: "feed_contextual_profile";
                }
                | { kind: "reel"; media_id: string }
                | { kind: "profile"; send_attribution: "profile"; user_id: string };
                threads: readonly {
                    is_group: boolean;
                    muted?: boolean;
                    preview: readonly {
                        client_context?: string;
                        command_count?: number;
                        edit_count?: number;
                        item_id: string;
                        item_type: string;
                        media?:
                            | {
                                height: number;
                                media_type: 1;
                                pk: string;
                                url: string;
                                width: number;
                            }
                            | {
                                height: number;
                                media_type: 2;
                                pk: string;
                                url: string;
                                width: number;
                            }
                            | { media_type: 8; pk: string; slides: readonly (...)[] };
                        message_ephemeral_lifetime_ms?: string;
                        text?: string;
                        timestamp: string;
                        user_id: string;
                    }[];
                    thread_id: string;
                    thread_title: string;
                    thread_v2_id?: string;
                    users: readonly {
                        fbid_v2?: string;
                        full_name: string;
                        pk: string;
                        username: string;
                    }[];
                }[];
            },
            DirectShareSheetActions,
            DirectShareSheetItems,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,
    >[]

    The conversations the app keeps in its local inbox store, which the sheet offers.