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

    Interface DirectShareSheetThreadState

    What a row's send acts with: its own conversation and the item the sheet shares.

    interface DirectShareSheetThreadState {
        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 };
        thread_id: string;
    }
    Index

    Properties

    Properties

    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 }

    Type Declaration

    • {
          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";
      }
      • Optional Readonlycarousel_share_child_media_id?: string

        A carousel's child in front, its container id; absent on a media that is no carousel.

      • Optional Readonlyinventory_source?: string

        The feed answer's entry kind (media_or_ad).

      • Readonlykind: "post"
      • Readonlymedia_id: string

        The post's container id (<pk>_<authorPk>).

      • Readonlymedia_type: number

        The media's type, which the share's query names (1 photo, 2 video, 8 carousel).

      • Optional Readonlyranking_info_token?: string

        The feed answer's ranking_info_token on the media, when it carries one.

      • Readonlysend_attribution: "feed_timeline"
    • {
          carousel_share_child_media_id?: string;
          kind: "carousel";
          media_id: string;
          media_type: number;
          send_attribution: "feed_contextual_profile";
      }
      • Optional Readonlycarousel_share_child_media_id?: string

        The child in front, its container id; absent when the library holds no child.

      • Readonlykind: "carousel"
      • Readonlymedia_id: string

        The carousel's container id.

      • Readonlymedia_type: number

        The media's type (8 on a carousel), which the share's query names.

      • Readonlysend_attribution: "feed_contextual_profile"
    • { kind: "reel"; media_id: string }
      • Readonlykind: "reel"
      • Readonlymedia_id: string

        The reel's pk, the id the clip-share mutation names.

    • { kind: "profile"; send_attribution: "profile"; user_id: string }
      • Readonlykind: "profile"
      • Readonlysend_attribution: "profile"
      • Readonlyuser_id: string

        The shared profile's user id.

    thread_id: string