Member Junction
    Preparing search index...

    The assets shape Buffer accepts on createPost: [AssetInput!], one entry per attachment, each naming its kind.

    This is deliberately not BufferAssets. Buffer switched createPost's input to the array form on 2026-05-25 and rejects the old { images: [...] } object, but keeps returning the object form on reads — so input and output genuinely differ and sharing one type here would break one direction or the other.

    interface BufferAssetInput {
        document?: { title?: string; url: string };
        image?: { thumbnailUrl?: string; url: string };
        link?: {
            description?: string;
            thumbnailUrl?: string;
            title?: string;
            url: string;
        };
        video?: { thumbnailUrl?: string; url: string };
    }
    Index

    Properties

    document?: { title?: string; url: string }
    image?: { thumbnailUrl?: string; url: string }
    link?: {
        description?: string;
        thumbnailUrl?: string;
        title?: string;
        url: string;
    }
    video?: { thumbnailUrl?: string; url: string }