> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt.

# Interface: ApiDiscussionToolsCommentForDiff

Defined in: [extensions/discussiontools.ts:226](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L226)

One comment item in a `discussiontoolscompare` diff: the thread-item shape
(see `ApiDiscussionToolsComment`) with `replies` flattened to comment ids
and the heading references appended.

## Properties

### author?

> `optional` **author?**: `string`

Defined in: [extensions/discussiontools.ts:243](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L243)

Who wrote the comment.

***

### headingId?

> `optional` **headingId?**: `string`

Defined in: [extensions/discussiontools.ts:246](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L246)

Id of the heading the comment sits under.

***

### id?

> `optional` **id?**: `string`

Defined in: [extensions/discussiontools.ts:228](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L228)

Comment id.

***

### level?

> `optional` **level?**: `number`

Defined in: [extensions/discussiontools.ts:234](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L234)

Rendering level.

***

### replies?

> `optional` **replies?**: `string`\[]

Defined in: [extensions/discussiontools.ts:237](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L237)

Ids of nested replies (shallow serialization).

***

### subscribableHeadingId?

> `optional` **subscribableHeadingId?**: `string` | `null`

Defined in: [extensions/discussiontools.ts:249](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L249)

Id of the nearest subscribable heading; `null` when there is none.

***

### timestamp?

> `optional` **timestamp?**: `string`

Defined in: [extensions/discussiontools.ts:240](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L240)

When it was signed — the compact id/name timestamp form (`YYYYMMDDHHMMSS`); comments predating 2022-07 are ISO 8601 instead.

***

### type?

> `optional` **type?**: `string`

Defined in: [extensions/discussiontools.ts:231](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L231)

Comment type, e.g. `comment`.
