Taslaklar
Posta kutusunda kayıtlı, gönderilmemiş iletiler.
Taslak araçları
| Araç | Ne yapar |
|---|---|
| listDrafts | Taslaklar, en son kaydedilen önce; her biri konusu, alıcıları ve göndereniyle. query bunlarda arama yapar. |
| getDraft | Tek bir taslağın tamamı: göndereni, alıcıları, konusu, yanıt verdiği konuşma, ekleri ve gövdesi. |
| createDraft | Yeni bir taslağı göndermeden kaydedin. Her alan isteğe bağlıdır ve threadId onu bir yanıta dönüştürür. |
| updateDraft | Bir taslaktaki alanları değiştirin. Vermediğiniz bir alan değerini korur ve bir liste kayıtlı olanın tamamının yerini alır. |
| deleteDraft | Bir taslağı kalıcı olarak silin. Çöp kutusuna gitmez. |
Okumak “Read drafts” (drafts:read), kaydetmek, değiştirmek ya da silmek ise “Create and edit drafts” (drafts:write) gerektirir. Bazı adreslerle sınırlı bir istemci yalnızca onlardan olan taslakları görür ve kaydettiği bir taslak, adına gönderebileceği bir from gerektirir.
Uygulamanın sohbetinde bir taslağı kaydetmek, değiştirmek ve silmek, siz istemediyseniz önce sorar.
Referans
listDrafts
The unsent drafts in the mailbox, most recently saved first, each with its id, subject, recipients and sender. query searches the subject, the sender and the start of the body. When more follow, the last line gives a pageToken: call again with the same query and that pageToken.
Girdiler
querystringlimitinteger- En az 1En çok 100
pageTokenstring
Şurada da var
getDraft
One draft in full: its sender, recipients, subject, the thread it replies to, the names of its attachments and its body as saved. Take the id from listDrafts.
Girdiler
draftIdstringZorunlu- Boş olamaz
Şurada da var
createDraft
Save a new draft without sending it, as the composer does when you close it. Every field is optional, and html wins over text when both are given. from is the address it will be sent as, and threadId makes it a reply to that thread. sendEmail with the draft id sends it later.
Girdiler
tostring[]ccstring[]bccstring[]subjectstring- En çok 998 karakter
htmlstring- En çok 1000000 karakter
textstring- En çok 1000000 karakter
fromstringthreadIdstring
Şurada da var
updateDraft
Change fields on a saved draft. A field you leave out keeps its value, and a list you give replaces the saved one whole, so to with one address drops the others. from null clears the sender. Take the id from listDrafts.
Girdiler
draftIdstringZorunlu- Boş olamaz
tostring[]ccstring[]bccstring[]subjectstring- En çok 998 karakter
htmlstring- En çok 1000000 karakter
textstring- En çok 1000000 karakter
fromstring- null olabilir
threadIdstring
Şurada da var
deleteDraft
Delete a draft for good. It does not go to the Bin and cannot be brought back. Take the id from listDrafts.
Girdiler
draftIdstringZorunlu- Boş olamaz