Interface PhotosGetParams

interface PhotosGetParams {
    album_id?: string;
    count?: number;
    extended?: number | boolean;
    feed?: number;
    feed_type?: string;
    offset?: number;
    owner_id?: number;
    photo_ids?: string | string[];
    photo_sizes?: number | boolean;
    rev?: number | boolean;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

album_id?: string

Photo album ID. To return information about photos from service albums, use the following string values: 'profile, wall, saved'.

count?: number
extended?: number | boolean

'1' - to return additional 'likes', 'comments', and 'tags' fields, '0' - (default)

feed?: number

unixtime, that can be obtained with [vk.com/dev/newsfeed.get|newsfeed.get] method in date field to get all photos uploaded by the user on a specific day, or photos the user has been tagged on. Also, 'uid' parameter of the user the event happened with shall be specified.

feed_type?: string

Type of feed obtained in 'feed' field of the method.

offset?: number
owner_id?: number

ID of the user or community that owns the photos. Use a negative value to designate a community ID.

photo_ids?: string | string[]
photo_sizes?: number | boolean

'1' - to return photo sizes in a [vk.com/dev/photo_sizes|special format]

rev?: number | boolean

Sort order: '1' - reverse chronological, '0' - chronological

Generated using TypeDoc