[chatgpt](../readme.md) / [Exports](../modules.md) / ChatMessage # Interface: ChatMessage ## Table of contents ### Properties - [conversationId](ChatMessage.md#conversationid) - [delta](ChatMessage.md#delta) - [detail](ChatMessage.md#detail) - [id](ChatMessage.md#id) - [name](ChatMessage.md#name) - [parentMessageId](ChatMessage.md#parentmessageid) - [role](ChatMessage.md#role) - [text](ChatMessage.md#text) ## Properties ### conversationId • `Optional` **conversationId**: `string` #### Defined in [src/types.ts:40](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L40) ___ ### delta • `Optional` **delta**: `string` #### Defined in [src/types.ts:34](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L34) ___ ### detail • `Optional` **detail**: `any` #### Defined in [src/types.ts:35](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L35) ___ ### id • **id**: `string` #### Defined in [src/types.ts:30](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L30) ___ ### name • `Optional` **name**: `string` #### Defined in [src/types.ts:33](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L33) ___ ### parentMessageId • `Optional` **parentMessageId**: `string` #### Defined in [src/types.ts:38](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L38) ___ ### role • **role**: [`Role`](../modules.md#role) #### Defined in [src/types.ts:32](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L32) ___ ### text • **text**: `string` #### Defined in [src/types.ts:31](https://github.com/transitive-bullshit/chatgpt-api/blob/1e4ddd6/src/types.ts#L31)