chatgpt-api/docs/interfaces/ChatMessage.md

97 wiersze
1.8 KiB
Markdown
Czysty Zwykły widok Historia

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-03-02 05:32:33 +00:00
- [delta](ChatMessage.md#delta)
2023-02-14 06:31:49 +00:00
- [detail](ChatMessage.md#detail)
2023-02-01 10:58:25 +00:00
- [id](ChatMessage.md#id)
2023-03-02 05:32:33 +00:00
- [name](ChatMessage.md#name)
2023-02-01 10:58:25 +00:00
- [parentMessageId](ChatMessage.md#parentmessageid)
- [role](ChatMessage.md#role)
- [text](ChatMessage.md#text)
## Properties
### conversationId
`Optional` **conversationId**: `string`
#### Defined in
2023-03-28 03:13:37 +00:00
[src/types.ts:73](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L73)
2023-03-02 05:32:33 +00:00
___
### delta
`Optional` **delta**: `string`
#### Defined in
2023-03-28 03:13:37 +00:00
[src/types.ts:67](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L67)
2023-02-14 06:31:49 +00:00
___
### detail
`Optional` **detail**: `any`
#### Defined in
2023-03-28 03:13:37 +00:00
[src/types.ts:68](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L68)
2023-02-01 10:58:25 +00:00
___
### id
**id**: `string`
#### Defined in
2023-03-28 03:13:37 +00:00
[src/types.ts:63](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L63)
2023-03-02 05:32:33 +00:00
___
### name
`Optional` **name**: `string`
#### Defined in
2023-03-28 03:13:37 +00:00
[src/types.ts:66](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L66)
2023-02-01 10:58:25 +00:00
___
### parentMessageId
`Optional` **parentMessageId**: `string`
#### Defined in
2023-03-28 03:13:37 +00:00
[src/types.ts:71](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L71)
2023-02-01 10:58:25 +00:00
___
### role
**role**: [`Role`](../modules.md#role)
#### Defined in
2023-03-28 03:13:37 +00:00
[src/types.ts:65](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L65)
2023-02-01 10:58:25 +00:00
___
### text
**text**: `string`
#### Defined in
2023-03-28 03:13:37 +00:00
[src/types.ts:64](https://github.com/transitive-bullshit/chatgpt-api/blob/9eac18f/src/types.ts#L64)