A comment on anything except a wall post.

id
string

Unique (server-wide) identifier of this comment.

owner_id
integer

Identifier of the parent object owner, either user ID or minus group ID.

from_id
integer (positive)

Identifier of the user who made this comment.

ap_id
string

Globally-unique ActivityPub identifier for this comment. Use this to match posts across servers.

url
string

The URL of the web page representing this comment. For comments made by remote users, points to their home server.

date
integer

The timestamp when this comment was published, as unixtime.

text
string

The text of the comment as HTML. More about text formatting.

likes
object

Information about likes of this comment.

count
integer (non-negative)

How many users liked this comment.

can_like
boolean

Whether the current user can like this comment.

user_likes
boolean

Whether the current user likes this comment.

attachments
array of attachments

Media attachments added to this comment.

content_warning
string

The content warning text, if any. If this field is present, hide the comment content, replacing it with this text, and only reveal it after an extra click or tap.

can_delete
boolean

Whether the current user can delete this comment.

can_edit
boolean

Whether the current user can edit this comment.

mentioned_users
array of integers

An array of user IDs corresponding to users mentioned in this comment.

parents_stack
array of strings

Array of identifiers of parent comments.

reply_to_comment
string

Identifier of the comment this is in reply to, if applicable.

reply_to_user
integer (positive)

Identifier of the user this is in reply to, if applicable.

thread
object

An object describing the reply thread of this comment. Only returned when view_type is threaded or two_level.

count
integer (non-negative)

The total number of comments in this branch.

reply_count
integer (non-negative)

The total number of replies to this comment.

items
array of comments

The replies to this comment.