Interface PhotosGetCommentsParams

interface PhotosGetCommentsParams {
    access_key?: string;
    count?: number;
    extended?: number | boolean;
    fields?: UsersFields[];
    need_likes?: number | boolean;
    offset?: number;
    owner_id?: number;
    photo_id: number;
    sort?: "desc" | "asc";
    start_comment_id?: number;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

access_key?: string
count?: number

Number of comments to return.

extended?: number | boolean
fields?: UsersFields[]
need_likes?: number | boolean

'1' - to return an additional 'likes' field, '0' - (default)

offset?: number

Offset needed to return a specific subset of comments. By default, '0'.

owner_id?: number

ID of the user or community that owns the photo.

photo_id: number

Photo ID.

sort?: "desc" | "asc"

Sort order: 'asc' - old first, 'desc' - new first

start_comment_id?: number

Generated using TypeDoc