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

    Function mediaCarouselChildAt

    • The child of a carousel at index, as the like and the note address it; undefined when the carousel holds none there.

      Parameters

      • carousel: { children: readonly string[]; size?: number }
      • index: number

      Returns { index: number; noteMediaId: string; pk: string; size?: number } | undefined

      • { index: number; noteMediaId: string; pk: string; size?: number }
        • Readonlyindex: number

          Zero-based child index (carousel_index).

        • ReadonlynoteMediaId: string

          <childPk>_<authorPk>, the note's carousel_media_id.

        • Readonlypk: string

          The child's own pk, the like's carousel_media_id (no author suffix).

        • Optional Readonlysize?: number

          Number of children (carousel_media_count), the like's carousel_size.

      • undefined