21 lines
310 B
TypeScript
21 lines
310 B
TypeScript
declare namespace Chat{
|
|
interface ChatOptions {
|
|
conversationId?: string
|
|
parentMessageId?: string
|
|
}
|
|
|
|
interface Chat {
|
|
dateTime: string
|
|
message: string
|
|
reversal?: boolean
|
|
error?: boolean
|
|
options?: ChatOptions
|
|
}
|
|
|
|
interface HistoryChat {
|
|
title: string
|
|
isEdit: boolean
|
|
data: Chat[]
|
|
}
|
|
}
|