IGPAPI
    Preparing search index...

    Interface DirectThreadSentMessage

    What a sent message leaves: the broadcast's answer and, in a composer, the conversation it created.

    interface DirectThreadSentMessage {
        conversation?: {
            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 { media_type: 1
                    | 2; pk: string; url: string }[];
                }
            )[];
            messages: 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 }[];
                };
                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;
            }[];
        };
        message: DirectBroadcastResponse;
    }
    Index

    Properties

    conversation?: {
        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 { media_type: 1
                | 2; pk: string; url: string }[];
            }
        )[];
        messages: 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 }[];
            };
            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;
        }[];
    }

    The conversation the first message created, when the fetch after the send answered. The fetch is best-effort, as the app's own reload is: a refused one leaves the message sent and this field absent.