IGPAPI
    Preparing search index...

    Variable DirectInboxThreadItemConst

    DirectInboxThreadItem: ScreenItemDefinition<
        "DirectInboxThread",
        {
            is_group: boolean;
            last_activity_at: string;
            muted: boolean;
            preview: readonly {
                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 { full_name: string; pk: string; username: string }[];
        },
        {
            is_group: boolean;
            last_activity_at: string;
            muted: boolean;
            preview: readonly {
                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 { full_name: string; pk: string; username: string }[];
        },
        { peerUserIds: string[]; thread_id: string; thread_v2_id: string },
        never,
        never,
        {
            open: (
                self: ScreenHandle,
                state: {
                    peerUserIds: readonly string[];
                    thread_id: string;
                    thread_v2_id: string;
                },
            ) => ScreenEdgeBound<
                ScreenEdgeShape<
                    ScreenDefinition<
                        "DirectThread",
                        "screen",
                        | {
                            kind: "thread";
                            peerUserIds: readonly string[];
                            send_attribution?: string;
                            thread_id: string;
                            thread_v2_id: string;
                        }
                        | {
                            kind: "recipient";
                            recipient: string;
                            send_attribution?: string;
                            seq_id: number;
                        },
                        {
                            media: readonly (
                                | {
                                    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 (...)[] }
                            )[];
                            messages: readonly {
                                item_id: string;
                                item_type: string;
                                media?:
                                    | { height: ...; media_type: ...; pk: ...; url: ...; width: ... }
                                    | { height: ...; media_type: ...; pk: ...; url: ...; width: ... }
                                    | { media_type: ...; pk: ...; slides: ... };
                                send_attribution?: string;
                                text?: string;
                                thread_id: string;
                                timestamp: string;
                                user_id: string;
                            }[];
                            thread: | {
                                is_group: boolean;
                                kind: "thread";
                                muted: boolean;
                                thread_id: string;
                                thread_title: string;
                                thread_v2_id: string;
                            }
                            | { kind: "compose"; recipient_user_id: string; thread_title: string };
                            users: readonly {
                                full_name: string;
                                pk: string;
                                thread_v2_id: string;
                                username: string;
                            }[];
                        },
                        unknown,
                        unknown,
                        unknown,
                        {
                            openCustomizeChat: (
                                self: ScreenHandle,
                                state:
                                    | {
                                        is_group: boolean;
                                        kind: "thread";
                                        peer_user_id?: (...)
                                        | (...);
                                        send_attribution?: (...) | (...);
                                        thread_id: string;
                                        thread_title: string;
                                        thread_v2_id: string;
                                    }
                                    | {
                                        kind: "compose";
                                        recipient_user_id: string;
                                        send_attribution?: (...)
                                        | (...);
                                    },
                            ) => ScreenEdgeBound<
                                ScreenEdgeShape<
                                    ScreenDefinition<
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                    >,
                                    [],
                                >,
                                (...args: []) => Effect<(...), (...)>,
                            >;
                            openThreadDetails: (
                                self: ScreenHandle,
                                state:
                                    | {
                                        is_group: boolean;
                                        kind: "thread";
                                        peer_user_id?: (...)
                                        | (...);
                                        send_attribution?: (...) | (...);
                                        thread_id: string;
                                        thread_title: string;
                                        thread_v2_id: string;
                                    }
                                    | {
                                        kind: "compose";
                                        recipient_user_id: string;
                                        send_attribution?: (...)
                                        | (...);
                                    },
                            ) => ScreenEdgeBound<
                                ScreenEdgeShape<
                                    ScreenDefinition<
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                    >,
                                    [],
                                >,
                                (...args: []) => Effect<(...), (...)>,
                            >;
                            sendMessage: (
                                self: ScreenHandle,
                                state:
                                    | {
                                        is_group: boolean;
                                        kind: "thread";
                                        peer_user_id?: (...)
                                        | (...);
                                        send_attribution?: (...) | (...);
                                        thread_id: string;
                                        thread_title: string;
                                        thread_v2_id: string;
                                    }
                                    | {
                                        kind: "compose";
                                        recipient_user_id: string;
                                        send_attribution?: (...)
                                        | (...);
                                    },
                            ) => (
                                ...args: [text: string],
                            ) => Effect<
                                DirectThreadSentMessage,
                                (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...),
                                (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...),
                            >;
                        },
                        {
                            media: {
                                at: "media";
                                by: "media_type";
                                key: "pk";
                                variants: {
                                    "1": ScreenItemDefinition<
                                        "DirectPhoto",
                                        { height: ...; media_type: ...; pk: ...; url: ...; width: ... },
                                        { height: ...; media_type: ...; pk: ...; url: ...; width: ... },
                                        Record<(...), (...)>,
                                        never,
                                        never,
                                        {},
                                    >;
                                    "2": ScreenItemDefinition<
                                        "DirectVideo",
                                        { height: ...; media_type: ...; pk: ...; url: ...; width: ... },
                                        { height: ...; media_type: ...; pk: ...; url: ...; width: ... },
                                        Record<(...), (...)>,
                                        never,
                                        never,
                                        {},
                                    >;
                                    "8": ScreenItemDefinition<
                                        "DirectCarousel",
                                        { media_type: ...; pk: ...; slides: ... },
                                        { media_type: ...; pk: ...; slides: ... },
                                        Record<(...), (...)>,
                                        never,
                                        never,
                                        {},
                                    >;
                                };
                            };
                            messages: {
                                at: "messages";
                                item: ScreenItemDefinition<
                                    "DirectThreadMessage",
                                    {
                                        item_id: string;
                                        item_type: string;
                                        media?: (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        send_attribution?: (...) | (...);
                                        text?: (...) | (...);
                                        thread_id: string;
                                        timestamp: string;
                                        user_id: string;
                                    },
                                    {
                                        item_id: string;
                                        item_type: string;
                                        media?: (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                        send_attribution?: (...) | (...);
                                        text?: (...) | (...);
                                        thread_id: string;
                                        timestamp: string;
                                        user_id: string;
                                    },
                                    DirectThreadMessageState,
                                    never,
                                    never,
                                    { react: (self: ..., state: ...) => ... },
                                >;
                                key: "item_id";
                            };
                            participants: {
                                at: "users";
                                item: ScreenItemDefinition<
                                    "DirectThreadParticipant",
                                    {
                                        full_name: string;
                                        pk: string;
                                        thread_v2_id: string;
                                        username: string;
                                    },
                                    {
                                        full_name: string;
                                        pk: string;
                                        thread_v2_id: string;
                                        username: string;
                                    },
                                    DirectThreadParticipantState,
                                    never,
                                    never,
                                    { openNicknameEditor: (self: ..., state: ...) => ... },
                                >;
                                key: "pk";
                            };
                        },
                        never,
                    >,
                    [],
                >,
                (
                    ...args: [],
                ) => Effect<
                    AssembledHandle<
                        "DirectThread",
                        "screen",
                        {
                            media: readonly (
                                | { height: ...; media_type: ...; pk: ...; url: ...; width: ... }
                                | { height: ...; media_type: ...; pk: ...; url: ...; width: ... }
                                | { media_type: ...; pk: ...; slides: ... }
                            )[];
                            messages: readonly {
                                item_id: string;
                                item_type: string;
                                media?: (...) | (...) | (...) | (...);
                                send_attribution?: (...) | (...);
                                text?: (...) | (...);
                                thread_id: string;
                                timestamp: string;
                                user_id: string;
                            }[];
                            thread: | {
                                is_group: boolean;
                                kind: "thread";
                                muted: boolean;
                                thread_id: string;
                                thread_title: string;
                                thread_v2_id: string;
                            }
                            | { kind: "compose"; recipient_user_id: string; thread_title: string };
                            users: readonly {
                                full_name: string;
                                pk: string;
                                thread_v2_id: string;
                                username: string;
                            }[];
                        },
                        {
                            openCustomizeChat: (
                                self: ScreenHandle,
                                state:
                                    | {
                                        is_group: ...;
                                        kind: ...;
                                        peer_user_id?: ...;
                                        send_attribution?: ...;
                                        thread_id: ...;
                                        thread_title: ...;
                                        thread_v2_id: ...;
                                    }
                                    | { kind: ...; recipient_user_id: ...; send_attribution?: ... },
                            ) => ScreenEdgeBound<
                                ScreenEdgeShape<(...), (...)>,
                                (...args: ...) => ...,
                            >;
                            openThreadDetails: (
                                self: ScreenHandle,
                                state:
                                    | {
                                        is_group: ...;
                                        kind: ...;
                                        peer_user_id?: ...;
                                        send_attribution?: ...;
                                        thread_id: ...;
                                        thread_title: ...;
                                        thread_v2_id: ...;
                                    }
                                    | { kind: ...; recipient_user_id: ...; send_attribution?: ... },
                            ) => ScreenEdgeBound<
                                ScreenEdgeShape<(...), (...)>,
                                (...args: ...) => ...,
                            >;
                            sendMessage: (
                                self: ScreenHandle,
                                state:
                                    | {
                                        is_group: ...;
                                        kind: ...;
                                        peer_user_id?: ...;
                                        send_attribution?: ...;
                                        thread_id: ...;
                                        thread_title: ...;
                                        thread_v2_id: ...;
                                    }
                                    | { kind: ...; recipient_user_id: ...; send_attribution?: ... },
                            ) => (...args: [text: ...]) => Effect<(...), (...), (...)>;
                        },
                        {
                            media: {
                                at: "media";
                                by: "media_type";
                                key: "pk";
                                variants: {
                                    "1": ScreenItemDefinition<
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                    >;
                                    "2": ScreenItemDefinition<
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                    >;
                                    "8": ScreenItemDefinition<
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                    >;
                                };
                            };
                            messages: {
                                at: "messages";
                                item: ScreenItemDefinition<
                                    "DirectThreadMessage",
                                    {
                                        item_id: ...;
                                        item_type: ...;
                                        media?: ...;
                                        send_attribution?: ...;
                                        text?: ...;
                                        thread_id: ...;
                                        timestamp: ...;
                                        user_id: ...;
                                    },
                                    {
                                        item_id: ...;
                                        item_type: ...;
                                        media?: ...;
                                        send_attribution?: ...;
                                        text?: ...;
                                        thread_id: ...;
                                        timestamp: ...;
                                        user_id: ...;
                                    },
                                    DirectThreadMessageState,
                                    never,
                                    never,
                                    { react: ... },
                                >;
                                key: "item_id";
                            };
                            participants: {
                                at: "users";
                                item: ScreenItemDefinition<
                                    "DirectThreadParticipant",
                                    { full_name: ...; pk: ...; thread_v2_id: ...; username: ... },
                                    { full_name: ...; pk: ...; thread_v2_id: ...; username: ... },
                                    DirectThreadParticipantState,
                                    never,
                                    never,
                                    { openNicknameEditor: ... },
                                >;
                                key: "pk";
                            };
                        },
                        ScreenHandle,
                        "required",
                    >,
                    unknown,
                >,
            >;
        },
    > = ...

    One thread of the inbox list. Showing it sends nothing: the inbox snapshot already carries the preview (thread_message_limit=5 on both the 448 and the 451 recordings), and no recording shows a per-thread request fanning out as the list appears. open opens the thread with the thread's own v2 id.

    The edge takes the next ordinal: the 451 group recording goes direct_inbox:2 → direct_thread:3:inbox — the clean transition, no screen in between. The one-to-one recording's thread is 5 because that session had already consumed two ordinals before the scene starts; that is the scene's session history, declared by the scene, not a fact of this edge.