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