2023-02-01 10:58:25 +00:00
|
|
|
[chatgpt](../readme.md) / [Exports](../modules.md) / ChatMessage
|
|
|
|
|
|
|
|
# Interface: ChatMessage
|
|
|
|
|
|
|
|
## Table of contents
|
|
|
|
|
|
|
|
### Properties
|
|
|
|
|
|
|
|
- [conversationId](ChatMessage.md#conversationid)
|
2023-02-14 06:31:49 +00:00
|
|
|
- [detail](ChatMessage.md#detail)
|
2023-02-01 10:58:25 +00:00
|
|
|
- [id](ChatMessage.md#id)
|
|
|
|
- [parentMessageId](ChatMessage.md#parentmessageid)
|
|
|
|
- [role](ChatMessage.md#role)
|
|
|
|
- [text](ChatMessage.md#text)
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
### conversationId
|
|
|
|
|
|
|
|
• `Optional` **conversationId**: `string`
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-02-19 12:29:07 +00:00
|
|
|
[src/types.ts:34](https://github.com/transitive-bullshit/chatgpt-api/blob/607fccf/src/types.ts#L34)
|
2023-02-14 06:31:49 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### detail
|
|
|
|
|
|
|
|
• `Optional` **detail**: `any`
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-02-19 12:29:07 +00:00
|
|
|
[src/types.ts:35](https://github.com/transitive-bullshit/chatgpt-api/blob/607fccf/src/types.ts#L35)
|
2023-02-01 10:58:25 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### id
|
|
|
|
|
|
|
|
• **id**: `string`
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-02-19 12:29:07 +00:00
|
|
|
[src/types.ts:30](https://github.com/transitive-bullshit/chatgpt-api/blob/607fccf/src/types.ts#L30)
|
2023-02-01 10:58:25 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### parentMessageId
|
|
|
|
|
|
|
|
• `Optional` **parentMessageId**: `string`
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-02-19 12:29:07 +00:00
|
|
|
[src/types.ts:33](https://github.com/transitive-bullshit/chatgpt-api/blob/607fccf/src/types.ts#L33)
|
2023-02-01 10:58:25 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### role
|
|
|
|
|
|
|
|
• **role**: [`Role`](../modules.md#role)
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-02-19 12:29:07 +00:00
|
|
|
[src/types.ts:32](https://github.com/transitive-bullshit/chatgpt-api/blob/607fccf/src/types.ts#L32)
|
2023-02-01 10:58:25 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### text
|
|
|
|
|
|
|
|
• **text**: `string`
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-02-19 12:29:07 +00:00
|
|
|
[src/types.ts:31](https://github.com/transitive-bullshit/chatgpt-api/blob/607fccf/src/types.ts#L31)
|