Interface WallPostParams

interface WallPostParams {
    attachments?: string | string[];
    close_comments?: number | boolean;
    copyright?: string;
    donut_paid_duration?: number;
    friends_only?: number | boolean;
    from_group?: number | boolean;
    guid?: string;
    lat?: number;
    long?: number;
    mark_as_ads?: number | boolean;
    message?: string;
    mute_notifications?: number | boolean;
    owner_id?: number;
    place_id?: number;
    post_id?: number;
    primary_attachments?: string | string[];
    publish_date?: number;
    services?: string;
    signed?: number | boolean;
    topic_id?: 0 | 1 | 16 | 32 | 7 | 12 | 19 | 21 | 23 | 25 | 43 | 26;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

attachments?: string | string[]
close_comments?: number | boolean
copyright?: string
donut_paid_duration?: number
friends_only?: number | boolean

'1' - post will be available to friends only, '0' - post will be available to all users (default)

from_group?: number | boolean

For a community: '1' - post will be published by the community, '0' - post will be published by the user (default)

guid?: string
lat?: number

Geographical latitude of a check-in, in degrees (from -90 to 90).

long?: number

Geographical longitude of a check-in, in degrees (from -180 to 180).

mark_as_ads?: number | boolean
message?: string

(Required if 'attachments' is not set.) Text of the post.

mute_notifications?: number | boolean
owner_id?: number

User ID or community ID. Use a negative value to designate a community ID.

place_id?: number

ID of the location where the user was tagged.

post_id?: number

Post ID. Used for publishing of scheduled and suggested posts.

primary_attachments?: string | string[]
publish_date?: number

Publication date (in Unix time). If used, posting will be delayed until the set time.

services?: string

List of services or websites the update will be exported to, if the user has so requested. Sample values: 'twitter', 'facebook'.

signed?: number | boolean

Only for posts in communities with 'from_group' set to '1': '1' - post will be signed with the name of the posting user, '0' - post will not be signed (default)

topic_id?: 0 | 1 | 16 | 32 | 7 | 12 | 19 | 21 | 23 | 25 | 43 | 26

Topic ID. Allowed values can be obtained from newsfeed.getPostTopics method

Generated using TypeDoc