Represents a topic in a group’s discussion board.

id
string

Unique (server-wide) identifier of this topic.

group_id
integer (positive)

Identifier of the group in which this topic exists.

ap_id
string

Globally-unique ActivityPub identifier for this topic. Use this to match topics across servers.

url
string

The URL of the web page representing this topic. For topics in remote groups, points to the group’s home server.

title
string

The title of this topic.

created
integer

The timestamp when this topic was created (unixtime).

created_by
integer (positive)

Identifier of the user who created this topic.

updated
integer

The timestamp when someone last posted in this topic (unixtime).

updated_by
integer (positive)

Identifier of the user who last posted in this topic.

is_closed
boolean

Whether this topic is closed so no further posts can be made.

is_pinned
boolean

Whether this topic is pinned at the top of the discussion board.

comments
integer (positive)

The total number of posts in this topic.

comment_preview
string

The first or last post text preview returned by some methods.