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

    Variable DirectShareSheetThreadItemConst

    DirectShareSheetThreadItem: ScreenItemDefinition<
        "DirectShareSheetThread",
        {
            is_group: boolean;
            muted?: boolean;
            preview: readonly {
                client_context?: string;
                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: 1
                    | 2; pk: string; url: 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;
                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: 1
                    | 2; pk: string; url: 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,
        {
            send: (
                self: ScreenHandle,
                state: DirectShareSheetThreadState,
            ) => (
                ...args: [],
            ) => Effect<
                | Bloks.BloksResponse & { raw: ActionRaw }
                | {
                    action: string;
                    client_context: string;
                    message_metadata: DirectBroadcastResponseMessageMetadata[];
                    payload: DirectBroadcastResponsePayload;
                    status: string;
                    status_code: string;
                } & { raw: ActionRaw },

                    | IgApiError
                    | RequestError
                    | ParseError
                    | TransportError
                    | ScreenEnterConcurrentError
                    | CarouselSlidesNotLoadedError
                    | DirectShareUnavailableError,
                | PlainJsonApiHttp
                | Signature
                | MobileDevice
                | GraphqlJsonHttp
                | MobileApplication
                | NavigationWire
                | MobileNavigation
                | ScreenStack,
            >;
        },
        {
            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,
    > = ...

    One conversation the sheet offers. Showing it sends nothing; send() sends the item the sheet shares into this row's conversation, the way the app does when the person taps the row — the sheet closes and the source screen stays in front.

    The wire is the type's own: a post and a carousel go by the media_share broadcast, a reel by the IGDirectClipShareMutationWithResponse GraphQL mutation and a profile by IGDirectBroadcastProfile — the forms the Android 451 app sends. The conversation's long id is the row's, never a caller-typed id.