Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 2.33 KB

File metadata and controls

47 lines (30 loc) · 2.33 KB

Comments on News Feed Messages: Overview of Methods

{% note tip "" %}

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

{% endnote %}

Comments in the News Feed allow users to discuss posts, share opinions, and clarify details. Files can be attached to each comment.

Quick navigation: all methods

User documentation: Feed

Linking Comments to Other Objects

News Feed Post. Comments are linked to a post by the identifier POST_ID. The post identifier can be obtained using the method log.blogpost.get.

User. A comment is associated with a user by the identifier USER_ID. The user identifier can be retrieved using the methods user.get and user.search.

Files. Files can be attached to comments. To attach a file, pass an array containing the file name and a string with Base64 in the FILES field. Information about the attached file can be obtained using the method disk.attachedObject.get.

{% note tip "Typical use-cases and scenarios" %}

{% endnote %}

How to Get Started

  1. Retrieve the post identifier POST_ID using the log.blogpost.get method
  2. Add a comment using the log.blogcomment.add method
  3. Retrieve the user's comments using the log.blogcomment.user.get method if you need to synchronize the discussion
  4. Delete the comment using the log.blogcomment.delete method if the user's permissions allow it

Overview of Methods {#all-methods}

Scope: log

Who can perform the method: depending on the method

#| || Method | Description || || log.blogcomment.add | Adds a comment to a News Feed post || || log.blogcomment.user.get | Returns a list of comments for a News Feed post || || log.blogcomment.delete | Deletes a comment from a post || |#