IGPAPI
    Preparing search index...

    Interface MediaRepostInput

    interface MediaRepostInput {
        audience?: number;
        carouselIndex?: number;
        containerModule?: MobileNavModule;
        deliveryClass?: string;
        feedPosition?: number;
        inventorySource?: string;
        like?: boolean;
        mediaClientPosition?: number;
        mediaId: string;
        navChain?: string;
        rankingInfoToken?: string;
        tapSource?: string;
        text?: string;
    }
    Index

    Properties

    audience?: number

    Note audience; defaults to the repost default.

    carouselIndex?: number

    Zero-based carousel child index the repost targets; defaults to 0.

    containerModule?: MobileNavModule

    container_module; defaults to the analytics module of the screen in front.

    deliveryClass?: string

    Like delivery_class (the capture sent organic); omitted from the like when unset.

    feedPosition?: number

    Feed position of the acted-on item (like body feed_position).

    inventorySource?: string

    Feed inventory source; the note defaults it, the like carries it as given.

    like?: boolean

    Also like the media first; defaults to false (the caller opts in).

    mediaClientPosition?: number

    The acted-on media's position; defaults to 0.

    mediaId: string

    Container media id (<pk>_<authorPk>).

    navChain?: string

    Rendered navigation chain for the signed bodies. The platform renders it from the navigation state (Android: androidNavChain(session.navigation)); the caller must first bring the screen to front, e.g. yield* NavigateTo(MobileScreens.ShortUrlFeed, 'button').

    rankingInfoToken?: string

    Feed logging token for the acted-on item (the feed item's ranking_info_token / logging_info_token). Sent as logging_info_token on the like and ranking_info_token on the note; omitted on the like and sent empty on the note when the caller has no feed context.

    tapSource?: string

    Like tap_source (the capture sent button); omitted from the like when unset.

    text?: string

    Optional repost text (max 80 chars), attached to the note by a final GraphQL step. When omitted the note is created without text and that step is skipped; a longer value fails with MediaRepostTextTooLongError before any request is sent.