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

    Type Alias DirectThreadGetByParticipantsResponse

    DirectThreadGetByParticipantsResponse:
        | DirectThreadGetByParticipantsThreadResponse
        | DirectThreadGetByParticipantsComposeResponse

    Two wire forms, selected by whether a dialog between the participants already exists:

    • Existing dialog — thread is present and carries the conversation (the previously verified shape, DirectThreadGetByParticipantsThreadResponse).
    • No dialog yet (a fresh pair) — HTTP 200 with no thread and no thread_id anywhere in the payload: the server returns the pre-thread compose form the app renders on the compose screen — user cards, thread context items, reachability statuses, icebreakers, welcome message (DirectThreadGetByParticipantsComposeResponse).

    The compose fields belong to the compose form only, so the thread form does not declare them. The call never creates the dialog; check thread for presence before reading either form.