Interface IMarketAttachmentPayload

interface IMarketAttachmentPayload {
    access_key?: string;
    availability?: 0 | 2 | 1;
    button_title?: string;
    can_comment?: number;
    can_repost?: number;
    category?: {
        id: number;
        name: string;
        section: {
            id: number;
            name: string;
        };
    };
    date?: number;
    description?: string;
    dimensions?: {
        height: number;
        length: number;
        width: number;
    };
    id: number;
    is_favorite?: number;
    likes?: {
        count: number;
        user_likes: number;
    };
    owner_id: number;
    photos?: IPhotoAttachmentPayload[];
    price?: {
        amount: string;
        currency: {
            id: number;
            name: string;
        };
        old_amount?: string;
        text: string;
    };
    thumb_photo?: string;
    title?: string;
    url?: string;
    weight?: number;
}

Properties

access_key?: string
availability?: 0 | 2 | 1
button_title?: string
can_comment?: number
can_repost?: number
category?: {
    id: number;
    name: string;
    section: {
        id: number;
        name: string;
    };
}

Type declaration

  • id: number
  • name: string
  • section: {
        id: number;
        name: string;
    }
    • id: number
    • name: string
date?: number
description?: string
dimensions?: {
    height: number;
    length: number;
    width: number;
}

Type declaration

  • height: number
  • length: number
  • width: number
id: number
is_favorite?: number
likes?: {
    count: number;
    user_likes: number;
}

Type declaration

  • count: number
  • user_likes: number
owner_id: number
price?: {
    amount: string;
    currency: {
        id: number;
        name: string;
    };
    old_amount?: string;
    text: string;
}

Type declaration

  • amount: string
  • currency: {
        id: number;
        name: string;
    }
    • id: number
    • name: string
  • Optional old_amount?: string
  • text: string
thumb_photo?: string
title?: string
url?: string
weight?: number

Generated using TypeDoc