board

board.editComment

Edits a comment on a topic on a community's discussion board.

To call this method, you can use:
• user access token obtained in the standalone app through Implicit Flow (access right required: groups — this is issued in exceptional cases by a request to support at devsupport@corp.vk.com)

Parameters

group_id

string

ID of the community that owns the discussion board.

Required parameter

topic_id

string

Topic ID.

Required parameter

comment_id

string

Comment ID.

Required parameter

message

string

New comment text.

Required if attachments is not set.

attachments

string

List of media objects attached to the topic, in the following format:

'''<type><owner_id>_<media_id>,<type><owner_id>_<media_id>'''

— type of media object:

  • photo — photo;
  • video — video;
  • audio — audio;
  • doc — document.

<owner_id> — ID of the media owner. <media_id> — Media ID.

Example:

'''photo100172_166443618,photo66748_265827614'''

Required if text is not set.

Result

Returns 1 if succeeded.

Error codes

Common errors may occur during execution

Related methods

board.createComment

Adds a comment on a topic on a community's discussion board.

board.deleteComment

Deletes a comment on a topic on a community's discussion board.