دردشات المساعد
المحادثات مع المساعد في التطبيق.
أدوات دردشات المساعد
| الأداة | ما تفعله |
|---|---|
| listChats | الدردشات مع المساعد في التطبيق، الأحدث أولًا، مع عناوينها وعدد رسائل كل منها. يبحث query في العناوين. تُعاد صفحة في كل مرة. |
| getChat | دردشة واحدة بمعرّفها. |
| 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مطلوب- غير فارغ