getTopicsExecute: Returns a list of topics on a community's discussion board

Description Usage Arguments

View source: R/board.R

Description

Returns a list of topics on a community's discussion board

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
getTopicsExecute(
  group_id = "",
  order = "",
  offset = 0,
  count = 40,
  preview = 0,
  preview_length = 90,
  use_db = FALSE,
  db_params = list(),
  progress_bar = FALSE,
  v = getAPIVersion()
)

Arguments

group_id

ID of the community that owns the discussion board.

order

Sort order:

  • 1 - by date updated in reverse chronological order;

  • 2 - by date created in reverse chronological order;

  • -1 - by date updated in chronological order;

  • -2 - by date created in chronological 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, 0 - for all topics).

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.

use_db

Use database

db_params

Collection name and suffix

progress_bar

Display progress bar

v

Version of API


vkR documentation built on Jan. 13, 2021, 10:09 a.m.