Interface ILinkAttachmentPayload

interface ILinkAttachmentPayload {
    button?: {
        action: {
            type: string;
            url: string;
        };
        title: string;
    };
    caption?: string;
    description?: string;
    photo?: IPhotoAttachmentPayload;
    product?: {
        price: object;
    };
    title: string;
    url: string;
}

Properties

button?: {
    action: {
        type: string;
        url: string;
    };
    title: string;
}

Type declaration

  • action: {
        type: string;
        url: string;
    }
    • type: string
    • url: string
  • title: string
caption?: string
description?: string
product?: {
    price: object;
}

Type declaration

  • price: object
title: string
url: string

Generated using TypeDoc