@archastro/sdk
    Preparing search index...

    Variable chatPostMessageResponseSchemaConst

    chatPostMessageResponseSchema: ZodObject<
        {
            message: ZodObject<
                {
                    acl: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    add: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                    grants: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                    remove: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    add?: { actions: ...; principal?: ...; principal_type: ... }[];
                                    grants?: { actions: ...; principal?: ...; principal_type: ... }[];
                                    remove?: { principal?: ...; principal_type: ... }[];
                                },
                                {
                                    add?: { actions: ...; principal?: ...; principal_type: ... }[];
                                    grants?: { actions: ...; principal?: ...; principal_type: ... }[];
                                    remove?: { principal?: ...; principal_type: ... }[];
                                },
                            >,
                        >,
                    >;
                    actors: ZodOptional<
                        ZodArray<
                            ZodObject<
                                {
                                    alias: ZodOptional<ZodNullable<ZodString>>;
                                    id: ZodOptional<ZodNullable<ZodString>>;
                                    name: ZodOptional<ZodNullable<ZodString>>;
                                    profile_picture: ZodOptional<
                                        ZodNullable<ZodObject<(...), (...), (...), (...), (...)>>,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    alias?: string
                                    | null;
                                    id?: string | null;
                                    name?: string | null;
                                    profile_picture?:
                                        | {
                                            file?: (...)
                                            | (...)
                                            | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                },
                                {
                                    alias?: string
                                    | null;
                                    id?: string | null;
                                    name?: string | null;
                                    profile_picture?:
                                        | {
                                            file?: (...)
                                            | (...)
                                            | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                },
                            >,
                            "many",
                        >,
                    >;
                    agent: ZodOptional<ZodNullable<ZodString>>;
                    agent_mode: ZodOptional<ZodNullable<ZodEnum<["cli", "embedded"]>>>;
                    attachments: ZodOptional<
                        ZodArray<
                            ZodObject<
                                {
                                    content_type: ZodOptional<ZodNullable<ZodString>>;
                                    description: ZodOptional<ZodNullable<ZodString>>;
                                    filename: ZodOptional<ZodNullable<ZodString>>;
                                    height: ZodOptional<ZodNullable<ZodNumber>>;
                                    id: ZodString;
                                    image_height: ZodOptional<ZodNullable<ZodNumber>>;
                                    image_source: ZodOptional<
                                        ZodNullable<ZodObject<(...), (...), (...), (...), (...)>>,
                                    >;
                                    image_url: ZodOptional<ZodNullable<ZodString>>;
                                    image_width: ZodOptional<ZodNullable<ZodNumber>>;
                                    media_type: ZodOptional<ZodString>;
                                    name: ZodOptional<ZodNullable<ZodString>>;
                                    object: ZodOptional<
                                        ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
                                    >;
                                    title: ZodOptional<ZodNullable<ZodString>>;
                                    type: ZodString;
                                    url: ZodOptional<ZodNullable<ZodString>>;
                                    variants: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                    version: ZodOptional<ZodNullable<ZodNumber>>;
                                    width: ZodOptional<ZodNullable<ZodNumber>>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    content_type?: string
                                    | null;
                                    description?: string | null;
                                    filename?: string | null;
                                    height?: number | null;
                                    id: string;
                                    image_height?: number | null;
                                    image_source?:
                                        | {
                                            file?: (...)
                                            | (...)
                                            | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                    image_url?: string
                                    | null;
                                    image_width?: number | null;
                                    media_type?: string;
                                    name?: string | null;
                                    object?: Record<string, (...) | (...)>;
                                    title?: string | null;
                                    type: string;
                                    url?: string | null;
                                    variants?: {
                                        content_type?: ...;
                                        created_at?: ...;
                                        file?: ...;
                                        filename?: ...;
                                        height?: ...;
                                        id: ...;
                                        image_source?: ...;
                                        updated_at?: ...;
                                        url?: ...;
                                        variant_key?: ...;
                                        width?: ...;
                                    }[];
                                    version?: number
                                    | null;
                                    width?: number | null;
                                },
                                {
                                    content_type?: string
                                    | null;
                                    description?: string | null;
                                    filename?: string | null;
                                    height?: number | null;
                                    id: string;
                                    image_height?: number | null;
                                    image_source?:
                                        | {
                                            file?: (...)
                                            | (...)
                                            | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        }
                                        | null;
                                    image_url?: string
                                    | null;
                                    image_width?: number | null;
                                    media_type?: string;
                                    name?: string | null;
                                    object?: Record<string, (...) | (...)>;
                                    title?: string | null;
                                    type: string;
                                    url?: string | null;
                                    variants?: {
                                        content_type?: ...;
                                        created_at?: ...;
                                        file?: ...;
                                        filename?: ...;
                                        height?: ...;
                                        id: ...;
                                        image_source?: ...;
                                        updated_at?: ...;
                                        url?: ...;
                                        variant_key?: ...;
                                        width?: ...;
                                    }[];
                                    version?: number
                                    | null;
                                    width?: number | null;
                                },
                            >,
                            "many",
                        >,
                    >;
                    branched_thread: ZodOptional<ZodNullable<ZodString>>;
                    content: ZodOptional<ZodNullable<ZodString>>;
                    context: ZodOptional<
                        ZodArray<
                            ZodObject<
                                {
                                    attributes: ZodOptional<
                                        ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
                                    >;
                                    content: ZodOptional<ZodNullable<ZodString>>;
                                    title: ZodOptional<ZodNullable<ZodString>>;
                                    type: ZodString;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    attributes?: Record<string, (...) | (...)>;
                                    content?: string | null;
                                    title?: string | null;
                                    type: string;
                                },
                                {
                                    attributes?: Record<string, (...) | (...)>;
                                    content?: string | null;
                                    title?: string | null;
                                    type: string;
                                },
                            >,
                            "many",
                        >,
                    >;
                    created_at: ZodOptional<ZodString>;
                    has_replies: ZodOptional<ZodBoolean>;
                    id: ZodString;
                    idempotency_key: ZodOptional<ZodNullable<ZodString>>;
                    is_deleted: ZodOptional<ZodBoolean>;
                    legacy_agent: ZodOptional<ZodNullable<ZodString>>;
                    metadata: ZodOptional<
                        ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    org: ZodOptional<ZodNullable<ZodString>>;
                    reactions: ZodOptional<
                        ZodArray<
                            ZodObject<
                                {
                                    payload: ZodOptional<
                                        ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
                                    >;
                                    type: ZodString;
                                    user: ZodOptional<ZodString>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    payload?: Record<string, (...) | (...)>;
                                    type: string;
                                    user?: string;
                                },
                                {
                                    payload?: Record<string, (...) | (...)>;
                                    type: string;
                                    user?: string;
                                },
                            >,
                            "many",
                        >,
                    >;
                    rendering_mode: ZodOptional<ZodNullable<ZodString>>;
                    replies: ZodOptional<
                        ZodArray<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                            "many",
                        >,
                    >;
                    replies_after_cursor: ZodOptional<ZodNullable<ZodString>>;
                    replies_before_cursor: ZodOptional<ZodNullable<ZodString>>;
                    reply_count: ZodOptional<ZodNumber>;
                    reply_to: ZodOptional<
                        ZodNullable<
                            ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                        >,
                    >;
                    root_message_id: ZodOptional<ZodNullable<ZodString>>;
                    sandbox: ZodOptional<ZodNullable<ZodString>>;
                    team: ZodOptional<ZodNullable<ZodString>>;
                    thread: ZodOptional<ZodString>;
                    type: ZodOptional<ZodNullable<ZodString>>;
                    user: ZodOptional<
                        ZodNullable<
                            ZodUnion<
                                [
                                    ZodString,
                                    ZodObject<
                                        {
                                            alias: ZodOptional<(...)>;
                                            app: ZodOptional<(...)>;
                                            app_name: ZodOptional<(...)>;
                                            created_by_agent_user: ZodOptional<(...)>;
                                            created_by_developer: ZodOptional<(...)>;
                                            created_by_org: ZodOptional<(...)>;
                                            created_by_team: ZodOptional<(...)>;
                                            created_by_user: ZodOptional<(...)>;
                                            email: ZodOptional<(...)>;
                                            id: ZodString;
                                            is_system_user: ZodOptional<(...)>;
                                            metadata: ZodOptional<(...)>;
                                            name: ZodOptional<(...)>;
                                            org: ZodOptional<(...)>;
                                            org_name: ZodOptional<(...)>;
                                            org_role: ZodOptional<(...)>;
                                            org_slug: ZodOptional<(...)>;
                                            sandbox: ZodOptional<(...)>;
                                            sandbox_name: ZodOptional<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            alias?: (...)
                                            | (...)
                                            | (...);
                                            app?: (...) | (...) | (...);
                                            app_name?: (...) | (...) | (...);
                                            created_by_agent_user?: (...) | (...) | (...);
                                            created_by_developer?: (...) | (...) | (...);
                                            created_by_org?: (...) | (...) | (...);
                                            created_by_team?: (...) | (...) | (...);
                                            created_by_user?: (...) | (...) | (...);
                                            email?: (...) | (...) | (...);
                                            id: string;
                                            is_system_user?: (...) | (...) | (...);
                                            metadata?: (...) | (...);
                                            name?: (...) | (...) | (...);
                                            org?: (...) | (...) | (...);
                                            org_name?: (...) | (...) | (...);
                                            org_role?: (...) | (...) | (...);
                                            org_slug?: (...) | (...) | (...);
                                            sandbox?: (...) | (...) | (...);
                                            sandbox_name?: (...) | (...) | (...);
                                        },
                                        {
                                            alias?: (...)
                                            | (...)
                                            | (...);
                                            app?: (...) | (...) | (...);
                                            app_name?: (...) | (...) | (...);
                                            created_by_agent_user?: (...) | (...) | (...);
                                            created_by_developer?: (...) | (...) | (...);
                                            created_by_org?: (...) | (...) | (...);
                                            created_by_team?: (...) | (...) | (...);
                                            created_by_user?: (...) | (...) | (...);
                                            email?: (...) | (...) | (...);
                                            id: string;
                                            is_system_user?: (...) | (...) | (...);
                                            metadata?: (...) | (...);
                                            name?: (...) | (...) | (...);
                                            org?: (...) | (...) | (...);
                                            org_name?: (...) | (...) | (...);
                                            org_role?: (...) | (...) | (...);
                                            org_slug?: (...) | (...) | (...);
                                            sandbox?: (...) | (...) | (...);
                                            sandbox_name?: (...) | (...) | (...);
                                        },
                                    >,
                                ],
                            >,
                        >,
                    >;
                    visibility: ZodOptional<ZodEnum<["default", "private"]>>;
                },
                "strip",
                ZodTypeAny,
                {
                    acl?: | {
                        add?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        grants?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        remove?: { principal?: string; principal_type: string }[];
                    }
                    | null;
                    actors?: {
                        alias?: string
                        | null;
                        id?: string | null;
                        name?: string | null;
                        profile_picture?:
                            | {
                                file?: string
                                | null;
                                height?: number | null;
                                media?: string | null;
                                mime_type?: string | null;
                                refresh_url?: string | null;
                                url?: string | null;
                                width?: number | null;
                            }
                            | null;
                    }[];
                    agent?: string
                    | null;
                    agent_mode?: "cli" | "embedded" | null;
                    attachments?: {
                        content_type?: string | null;
                        description?: string | null;
                        filename?: string | null;
                        height?: number | null;
                        id: string;
                        image_height?: number | null;
                        image_source?:
                            | {
                                file?: string
                                | null;
                                height?: number | null;
                                media?: string | null;
                                mime_type?: string | null;
                                refresh_url?: string | null;
                                url?: string | null;
                                width?: number | null;
                            }
                            | null;
                        image_url?: string
                        | null;
                        image_width?: number | null;
                        media_type?: string;
                        name?: string | null;
                        object?: Record<string, {} | null>;
                        title?: string | null;
                        type: string;
                        url?: string | null;
                        variants?: {
                            content_type?: (...) | (...) | (...);
                            created_at?: (...) | (...);
                            file?: (...) | (...);
                            filename?: (...) | (...) | (...);
                            height?: (...) | (...) | (...);
                            id: string;
                            image_source?: (...) | (...) | (...);
                            updated_at?: (...) | (...);
                            url?: (...) | (...) | (...);
                            variant_key?: (...) | (...);
                            width?: (...) | (...) | (...);
                        }[];
                        version?: number
                        | null;
                        width?: number | null;
                    }[];
                    branched_thread?: string
                    | null;
                    content?: string | null;
                    context?: {
                        attributes?: Record<string, {} | null>;
                        content?: string | null;
                        title?: string | null;
                        type: string;
                    }[];
                    created_at?: string;
                    has_replies?: boolean;
                    id: string;
                    idempotency_key?: string
                    | null;
                    is_deleted?: boolean;
                    legacy_agent?: string | null;
                    metadata?: Record<string, {} | null>;
                    org?: string | null;
                    reactions?: {
                        payload?: Record<string, {} | null>;
                        type: string;
                        user?: string;
                    }[];
                    rendering_mode?: string
                    | null;
                    replies?: Record<string, {} | null>[];
                    replies_after_cursor?: string | null;
                    replies_before_cursor?: string | null;
                    reply_count?: number;
                    reply_to?: Record<string, {} | null> | null;
                    root_message_id?: string | null;
                    sandbox?: string | null;
                    team?: string | null;
                    thread?: string;
                    type?: string | null;
                    user?:
                        | string
                        | {
                            alias?: string
                            | null;
                            app?: string | null;
                            app_name?: string | null;
                            created_by_agent_user?: string | null;
                            created_by_developer?: string | null;
                            created_by_org?: string | null;
                            created_by_team?: string | null;
                            created_by_user?: string | null;
                            email?: string | null;
                            id: string;
                            is_system_user?: boolean;
                            metadata?: Record<string, {} | null>;
                            name?: string | null;
                            org?: string | null;
                            org_name?: string | null;
                            org_role?: string | null;
                            org_slug?: string | null;
                            sandbox?: string | null;
                            sandbox_name?: string | null;
                        }
                        | null;
                    visibility?: "default"
                    | "private";
                },
                {
                    acl?: | {
                        add?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        grants?: {
                            actions: string[];
                            principal?: string;
                            principal_type: string;
                        }[];
                        remove?: { principal?: string; principal_type: string }[];
                    }
                    | null;
                    actors?: {
                        alias?: string
                        | null;
                        id?: string | null;
                        name?: string | null;
                        profile_picture?:
                            | {
                                file?: string
                                | null;
                                height?: number | null;
                                media?: string | null;
                                mime_type?: string | null;
                                refresh_url?: string | null;
                                url?: string | null;
                                width?: number | null;
                            }
                            | null;
                    }[];
                    agent?: string
                    | null;
                    agent_mode?: "cli" | "embedded" | null;
                    attachments?: {
                        content_type?: string | null;
                        description?: string | null;
                        filename?: string | null;
                        height?: number | null;
                        id: string;
                        image_height?: number | null;
                        image_source?:
                            | {
                                file?: string
                                | null;
                                height?: number | null;
                                media?: string | null;
                                mime_type?: string | null;
                                refresh_url?: string | null;
                                url?: string | null;
                                width?: number | null;
                            }
                            | null;
                        image_url?: string
                        | null;
                        image_width?: number | null;
                        media_type?: string;
                        name?: string | null;
                        object?: Record<string, {} | null>;
                        title?: string | null;
                        type: string;
                        url?: string | null;
                        variants?: {
                            content_type?: (...) | (...) | (...);
                            created_at?: (...) | (...);
                            file?: (...) | (...);
                            filename?: (...) | (...) | (...);
                            height?: (...) | (...) | (...);
                            id: string;
                            image_source?: (...) | (...) | (...);
                            updated_at?: (...) | (...);
                            url?: (...) | (...) | (...);
                            variant_key?: (...) | (...);
                            width?: (...) | (...) | (...);
                        }[];
                        version?: number
                        | null;
                        width?: number | null;
                    }[];
                    branched_thread?: string
                    | null;
                    content?: string | null;
                    context?: {
                        attributes?: Record<string, {} | null>;
                        content?: string | null;
                        title?: string | null;
                        type: string;
                    }[];
                    created_at?: string;
                    has_replies?: boolean;
                    id: string;
                    idempotency_key?: string
                    | null;
                    is_deleted?: boolean;
                    legacy_agent?: string | null;
                    metadata?: Record<string, {} | null>;
                    org?: string | null;
                    reactions?: {
                        payload?: Record<string, {} | null>;
                        type: string;
                        user?: string;
                    }[];
                    rendering_mode?: string
                    | null;
                    replies?: Record<string, {} | null>[];
                    replies_after_cursor?: string | null;
                    replies_before_cursor?: string | null;
                    reply_count?: number;
                    reply_to?: Record<string, {} | null> | null;
                    root_message_id?: string | null;
                    sandbox?: string | null;
                    team?: string | null;
                    thread?: string;
                    type?: string | null;
                    user?:
                        | string
                        | {
                            alias?: string
                            | null;
                            app?: string | null;
                            app_name?: string | null;
                            created_by_agent_user?: string | null;
                            created_by_developer?: string | null;
                            created_by_org?: string | null;
                            created_by_team?: string | null;
                            created_by_user?: string | null;
                            email?: string | null;
                            id: string;
                            is_system_user?: boolean;
                            metadata?: Record<string, {} | null>;
                            name?: string | null;
                            org?: string | null;
                            org_name?: string | null;
                            org_role?: string | null;
                            org_slug?: string | null;
                            sandbox?: string | null;
                            sandbox_name?: string | null;
                        }
                        | null;
                    visibility?: "default"
                    | "private";
                },
            >;
        },
        "strip",
        ZodTypeAny,
        {
            message: {
                acl?: | {
                    add?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    grants?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    remove?: { principal?: string; principal_type: string }[];
                }
                | null;
                actors?: {
                    alias?: string
                    | null;
                    id?: string | null;
                    name?: string | null;
                    profile_picture?:
                        | {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        }
                        | null;
                }[];
                agent?: string
                | null;
                agent_mode?: "cli" | "embedded" | null;
                attachments?: {
                    content_type?: string | null;
                    description?: string | null;
                    filename?: string | null;
                    height?: number | null;
                    id: string;
                    image_height?: number | null;
                    image_source?:
                        | {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        }
                        | null;
                    image_url?: string
                    | null;
                    image_width?: number | null;
                    media_type?: string;
                    name?: string | null;
                    object?: Record<string, {} | null>;
                    title?: string | null;
                    type: string;
                    url?: string | null;
                    variants?: {
                        content_type?: string | null;
                        created_at?: string;
                        file?: string;
                        filename?: string | null;
                        height?: number | null;
                        id: string;
                        image_source?:
                            | {
                                file?: ...;
                                height?: ...;
                                media?: ...;
                                mime_type?: ...;
                                refresh_url?: ...;
                                url?: ...;
                                width?: ...;
                            }
                            | null;
                        updated_at?: string;
                        url?: string
                        | null;
                        variant_key?: string;
                        width?: number | null;
                    }[];
                    version?: number
                    | null;
                    width?: number | null;
                }[];
                branched_thread?: string
                | null;
                content?: string | null;
                context?: {
                    attributes?: Record<string, {} | null>;
                    content?: string | null;
                    title?: string | null;
                    type: string;
                }[];
                created_at?: string;
                has_replies?: boolean;
                id: string;
                idempotency_key?: string
                | null;
                is_deleted?: boolean;
                legacy_agent?: string | null;
                metadata?: Record<string, {} | null>;
                org?: string | null;
                reactions?: {
                    payload?: Record<string, {} | null>;
                    type: string;
                    user?: string;
                }[];
                rendering_mode?: string
                | null;
                replies?: Record<string, {} | null>[];
                replies_after_cursor?: string | null;
                replies_before_cursor?: string | null;
                reply_count?: number;
                reply_to?: Record<string, {} | null> | null;
                root_message_id?: string | null;
                sandbox?: string | null;
                team?: string | null;
                thread?: string;
                type?: string | null;
                user?:
                    | string
                    | {
                        alias?: string
                        | null;
                        app?: string | null;
                        app_name?: string | null;
                        created_by_agent_user?: string | null;
                        created_by_developer?: string | null;
                        created_by_org?: string | null;
                        created_by_team?: string | null;
                        created_by_user?: string | null;
                        email?: string | null;
                        id: string;
                        is_system_user?: boolean;
                        metadata?: Record<string, {} | null>;
                        name?: string | null;
                        org?: string | null;
                        org_name?: string | null;
                        org_role?: string | null;
                        org_slug?: string | null;
                        sandbox?: string | null;
                        sandbox_name?: string | null;
                    }
                    | null;
                visibility?: "default"
                | "private";
            };
        },
        {
            message: {
                acl?: | {
                    add?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    grants?: {
                        actions: string[];
                        principal?: string;
                        principal_type: string;
                    }[];
                    remove?: { principal?: string; principal_type: string }[];
                }
                | null;
                actors?: {
                    alias?: string
                    | null;
                    id?: string | null;
                    name?: string | null;
                    profile_picture?:
                        | {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        }
                        | null;
                }[];
                agent?: string
                | null;
                agent_mode?: "cli" | "embedded" | null;
                attachments?: {
                    content_type?: string | null;
                    description?: string | null;
                    filename?: string | null;
                    height?: number | null;
                    id: string;
                    image_height?: number | null;
                    image_source?:
                        | {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        }
                        | null;
                    image_url?: string
                    | null;
                    image_width?: number | null;
                    media_type?: string;
                    name?: string | null;
                    object?: Record<string, {} | null>;
                    title?: string | null;
                    type: string;
                    url?: string | null;
                    variants?: {
                        content_type?: string | null;
                        created_at?: string;
                        file?: string;
                        filename?: string | null;
                        height?: number | null;
                        id: string;
                        image_source?:
                            | {
                                file?: ...;
                                height?: ...;
                                media?: ...;
                                mime_type?: ...;
                                refresh_url?: ...;
                                url?: ...;
                                width?: ...;
                            }
                            | null;
                        updated_at?: string;
                        url?: string
                        | null;
                        variant_key?: string;
                        width?: number | null;
                    }[];
                    version?: number
                    | null;
                    width?: number | null;
                }[];
                branched_thread?: string
                | null;
                content?: string | null;
                context?: {
                    attributes?: Record<string, {} | null>;
                    content?: string | null;
                    title?: string | null;
                    type: string;
                }[];
                created_at?: string;
                has_replies?: boolean;
                id: string;
                idempotency_key?: string
                | null;
                is_deleted?: boolean;
                legacy_agent?: string | null;
                metadata?: Record<string, {} | null>;
                org?: string | null;
                reactions?: {
                    payload?: Record<string, {} | null>;
                    type: string;
                    user?: string;
                }[];
                rendering_mode?: string
                | null;
                replies?: Record<string, {} | null>[];
                replies_after_cursor?: string | null;
                replies_before_cursor?: string | null;
                reply_count?: number;
                reply_to?: Record<string, {} | null> | null;
                root_message_id?: string | null;
                sandbox?: string | null;
                team?: string | null;
                thread?: string;
                type?: string | null;
                user?:
                    | string
                    | {
                        alias?: string
                        | null;
                        app?: string | null;
                        app_name?: string | null;
                        created_by_agent_user?: string | null;
                        created_by_developer?: string | null;
                        created_by_org?: string | null;
                        created_by_team?: string | null;
                        created_by_user?: string | null;
                        email?: string | null;
                        id: string;
                        is_system_user?: boolean;
                        metadata?: Record<string, {} | null>;
                        name?: string | null;
                        org?: string | null;
                        org_name?: string | null;
                        org_role?: string | null;
                        org_slug?: string | null;
                        sandbox?: string | null;
                        sandbox_name?: string | null;
                    }
                    | null;
                visibility?: "default"
                | "private";
            };
        },
    > = ...

    Runtime validator for ChatPostMessageResponse.