جهات الاتصال

save()

api.mail.contacts.save({ address, name?, image? }) → Promise<Contact>

ينشئ أو يغير a اتصال صورة إلى الحساب s نفسه تخزين و أيّ شئ موجود على حقل.

creates or replacesimage: null keeps the namecounted in the quota
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

await api.mail.contacts.save({
  address: "fedy@example.net",
  name: "Fedy",
  image: { data: bytes, type: "image/jpeg" },
});

await api.mail.contacts.save({ address: "fedy@example.net", image: null });   // drop the photo, keep the name
api.mail.contacts.save(
    address="fedy@example.net",
    name="Fedy",
    image={"data": jpeg_bytes, "type": "image/jpeg"},
)

api.mail.contacts.save(address="fedy@example.net", image=None)   # drop the photo, keep the name
addressstringمطلوب

المراسل والمفتاح

namestring

ما الذي يجب أن تظهره

imageobject|null

{ data, type }. null يزيل الصورة ويبقي البقية

يربح على شعار

الشعار هو علامة الشركة؛ صورة الشخص

وهذا هو السبب الرئيسي لوجود دفتر العناوين. فشعار المجال هو الصحيح لمنظمة ما وخطأ لشخص ما - وفي مجال استهلاكي سيكون شعار مقدم الخدمات لكل واحد منهم.

(الـ (بالمُت) هي حساب الحساب

مخزنة في مخزن جسمها، مرئية في قائمة، محسوبة في حصتها، قابلة للإلغاء. لا يرسل أي شيء إلى أي مكان آخر لمعرفة من يكتب إلى الزبون.

يستعاض عن العنوان

توفير عنوان موجود يغيره - وتجاهل حقل ما يتركه كما كان، باستثناء image: nullالتي تزيل الصورة عمداً

جديد جديد جديد جديد جديد عنوان جديد

هذا ما يُنهي المُخابئ القديم يتوقف عن الرجوع إليه