boardGetComments function

Returns a list of comments on a topic on a community's discussion board

Returns a list of comments on a topic on a community's discussion board

boardGetComments( group_id = "", topic_id = "", need_likes = 0, start_comment_id = "", offset = 0, count = 20, sort = "", extended = 0, v = getAPIVersion() )

Arguments

  • group_id: ID of the community that owns the discussion board.
  • topic_id: Topic ID.
  • need_likes: 1 - to return the likes field, 0 - not to return the likes field (default).
  • start_comment_id: Positive number.
  • offset: Offset needed to return a specific subset of comments.
  • count: Number of comments to return (default 20, maximum 100).
  • sort: Sort order: asc - chronological, desc - reverse chronological.
  • extended: 1 — to return information about users who posted comments; 0 — to return no additional fields (default).
  • v: Version of API
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29