Interface BoardGetCommentsParams

interface BoardGetCommentsParams {
    count?: number;
    extended?: number | boolean;
    group_id: number;
    need_likes?: number | boolean;
    offset?: number;
    sort?: "desc" | "asc";
    start_comment_id?: number;
    topic_id: number;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

count?: number

Number of comments to return.

extended?: number | boolean

'1' - to return information about users who posted comments, '0' - to return no additional fields (default)

group_id: number

ID of the community that owns the discussion board.

need_likes?: number | boolean

'1' - to return the 'likes' field, '0' - not to return the 'likes' field (default)

offset?: number

Offset needed to return a specific subset of comments.

sort?: "desc" | "asc"

Sort order: 'asc' - by creation date in chronological order, 'desc' - by creation date in reverse chronological order,

start_comment_id?: number
topic_id: number

Topic ID.

Generated using TypeDoc