어시스턴트 채팅
앱에서 어시스턴트와 나눈 대화.
어시스턴트 채팅 도구
| 도구 | 하는 일 |
|---|---|
| listChats | 앱에서 어시스턴트와 나눈 채팅을 최신순으로, 제목과 각 채팅의 메시지 수와 함께 보여 줍니다. query는 제목을 검색합니다. 한 페이지씩 반환됩니다. |
| getChat | id로 지정한 채팅 하나. |
| renameChat | 채팅에 새 제목을 붙입니다. |
| deleteChat | 채팅과 그 안의 모든 메시지를 영구히 삭제합니다. 어시스턴트가 메일함에서 한 일은 되돌리지 않습니다. |
채팅에는 워크스페이스 소유자만, 모든 주소로 연결한 클라이언트를 통해 닿습니다. 읽기에는 threads:read, 변경에는 threads:write가 필요합니다.
앱의 어시스턴트에는 이 도구들이 없으므로, 채팅이 스스로 이름을 바꾸거나 자신을 삭제하는 일은 없습니다.
레퍼런스
listChats
The conversations held with the assistant in the OpenEmail app, as its Chats page lists them, newest first, each with its title, id and how many messages it holds. query searches the titles. Only the workspace owner reaches them. One page at a time: when more follow, the last line gives a cursor to pass back for the next page.
입력
querystring- 최대 200자
sortstring- 다음 중 하나
"newest""oldest""title" limitinteger- 1 이상100 이하
cursorstring- 1~2048자
다른 사용처
getChat
One chat with the assistant by its id: its title, how many messages it holds and when it last changed.
입력
idstring필수- 비어 있지 않음
다른 사용처
renameChat
Give a chat with the assistant a new title.
입력
idstring필수- 비어 있지 않음
titlestring필수- 1~120자
다른 사용처
deleteChat
Delete a chat with the assistant and every message in it, for good. Nothing it did in the mailbox is undone. Ask the person first.
입력
idstring필수- 비어 있지 않음