getTopics {vkR} | R Documentation |
Returns a list of topics on a community's discussion board
Description
Returns a list of topics on a community's discussion board
Usage
getTopics(
group_id = "",
topics_ids = "",
order = "",
offset = 0,
count = 40,
extended = 0,
preview = 0,
preview_length = 90,
v = getAPIVersion()
)
Arguments
group_id |
ID of the community that owns the discussion board. |
topics_ids |
IDs of topics to be returned (100 maximum). By default, all topics are returned. If this parameter is set, the order, offset, and count parameters are ignored. |
order |
Sort order:
If no sort order is specified, topics are returned in the order specified by the group administrator. Pinned topics are returned first, regardless of the sorting. |
offset |
Offset needed to return a specific subset of topics. |
count |
Number of topics to return (default 40, maximum value 100). |
extended |
1 — to return information about users who created topics or who posted there last; 0 — to return no additional fields (default). |
preview |
1 — to return the first comment in each topic; 2 — to return the last comment in each topic; 0 — to return no comments. |
preview_length |
Number of characters after which to truncate the previewed comment. To preview the full comment, specify 0. |
v |
Version of API |