Performs a search in a group's discussion board.

This method requires an access token, but no permissions.

Available since API version 1.1.

Parameters

q
string

The search query.

group_id
integer

The identifier of the group.

offset
integer (non-negative)

Offset into the comments.

count
integer (1..100)

How many comments to return.

By default 20.

need_likes
boolean

Whether to return information about likes.

extended
boolean

Whether to return user and group objects related to the comments.

By default false.

fields
string

Comma-separated list of user and group profile fields to be returned. Only has effect if extended is true.

Result

A paginated list of comment objects extended with the following fields:

profiles
array of users

If extended is true, an array of users relevant to these comments.

topics
array of board topics

If extended is true, an array of topics that contain these comments.

Errors

Global errors may occur when calling this method.