kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
64 wiersze
1.2 KiB
Markdown
64 wiersze
1.2 KiB
Markdown
![]() |
[chatgpt](../readme.md) / [Exports](../modules.md) / ChatMessage
|
||
|
|
||
|
# Interface: ChatMessage
|
||
|
|
||
|
## Table of contents
|
||
|
|
||
|
### Properties
|
||
|
|
||
|
- [conversationId](ChatMessage.md#conversationid)
|
||
|
- [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:20](https://github.com/transitive-bullshit/chatgpt-api/blob/531e180/src/types.ts#L20)
|
||
|
|
||
|
___
|
||
|
|
||
|
### id
|
||
|
|
||
|
• **id**: `string`
|
||
|
|
||
|
#### Defined in
|
||
|
|
||
|
[src/types.ts:16](https://github.com/transitive-bullshit/chatgpt-api/blob/531e180/src/types.ts#L16)
|
||
|
|
||
|
___
|
||
|
|
||
|
### parentMessageId
|
||
|
|
||
|
• `Optional` **parentMessageId**: `string`
|
||
|
|
||
|
#### Defined in
|
||
|
|
||
|
[src/types.ts:19](https://github.com/transitive-bullshit/chatgpt-api/blob/531e180/src/types.ts#L19)
|
||
|
|
||
|
___
|
||
|
|
||
|
### role
|
||
|
|
||
|
• **role**: [`Role`](../modules.md#role)
|
||
|
|
||
|
#### Defined in
|
||
|
|
||
|
[src/types.ts:18](https://github.com/transitive-bullshit/chatgpt-api/blob/531e180/src/types.ts#L18)
|
||
|
|
||
|
___
|
||
|
|
||
|
### text
|
||
|
|
||
|
• **text**: `string`
|
||
|
|
||
|
#### Defined in
|
||
|
|
||
|
[src/types.ts:17](https://github.com/transitive-bullshit/chatgpt-api/blob/531e180/src/types.ts#L17)
|