Interface IWallPostContextPayload

interface IWallPostContextPayload {
    access_key?: string;
    attachments?: object[];
    can_delete?: number;
    can_edit?: number;
    can_pin?: number;
    comments?: {
        can_close: number;
        can_open: number;
        can_post: number;
        count: number;
        groups_can_post: number;
    };
    copy_history?: IWallAttachmentPayload[];
    copyright?: {
        id?: number;
        link: string;
        name: string;
        type: string;
    };
    created_by?: number;
    date?: number;
    donut?: {
        can_publish_free_copy?: boolean;
        durations?: {
            id: number;
            name: string;
        }[];
        edit_mode?: "all" | "duration";
        is_donut: boolean;
        paid_duration?: number;
        placeholder?: {
            text: string;
        };
    };
    friends_only?: number;
    from_id?: number;
    geo?: object;
    id: number;
    is_favorite?: number;
    is_pinned?: number;
    likes?: {
        can_like: number;
        can_publish: number;
        count: number;
        user_likes: number;
    };
    marked_as_ads?: number;
    owner_id: number;
    post_source?: {
        data: string;
        platform: string;
        type: string;
        url: string;
    };
    post_type?: string;
    postponed_id?: number;
    reply_owner_id?: number;
    reply_post_id?: number;
    reposts?: {
        count: number;
        user_reposted: number;
    };
    signer_id?: number;
    text?: string;
    to_id?: number;
    views?: {
        count: number;
    };
}

Hierarchy (view full)

Properties

access_key?: string
attachments?: object[]
can_delete?: number
can_edit?: number
can_pin?: number
comments?: {
    can_close: number;
    can_open: number;
    can_post: number;
    count: number;
    groups_can_post: number;
}

Type declaration

  • can_close: number
  • can_open: number
  • can_post: number
  • count: number
  • groups_can_post: number
copy_history?: IWallAttachmentPayload[]
copyright?: {
    id?: number;
    link: string;
    name: string;
    type: string;
}

Type declaration

  • Optional id?: number
  • link: string
  • name: string
  • type: string
created_by?: number
date?: number
donut?: {
    can_publish_free_copy?: boolean;
    durations?: {
        id: number;
        name: string;
    }[];
    edit_mode?: "all" | "duration";
    is_donut: boolean;
    paid_duration?: number;
    placeholder?: {
        text: string;
    };
}

Type declaration

  • Optional can_publish_free_copy?: boolean
  • Optional durations?: {
        id: number;
        name: string;
    }[]
  • Optional edit_mode?: "all" | "duration"
  • is_donut: boolean
  • Optional paid_duration?: number
  • Optional placeholder?: {
        text: string;
    }
    • text: string
friends_only?: number
from_id?: number
geo?: object
id: number
is_favorite?: number
is_pinned?: number
likes?: {
    can_like: number;
    can_publish: number;
    count: number;
    user_likes: number;
}

Type declaration

  • can_like: number
  • can_publish: number
  • count: number
  • user_likes: number
marked_as_ads?: number
owner_id: number
post_source?: {
    data: string;
    platform: string;
    type: string;
    url: string;
}

Type declaration

  • data: string
  • platform: string
  • type: string
  • url: string
post_type?: string
postponed_id?: number
reply_owner_id?: number
reply_post_id?: number
reposts?: {
    count: number;
    user_reposted: number;
}

Type declaration

  • count: number
  • user_reposted: number
signer_id?: number
text?: string
to_id?: number
views?: {
    count: number;
}

Type declaration

  • count: number

Generated using TypeDoc