Expand description
Contacts module
Structsยง
- Contact
- An object representing a single contact in memory.
- Contact
Id - Contact ID, including reserved IDs.
- Recently
Seen ๐Interrupt - Recently
Seen ๐Loop
Enumsยง
Constantsยง
- SEEN_
RECENTLY_ ๐SECONDS - Time during which a contact is considered as seen recently.
Functionsยง
- cat_
fingerprint ๐ - import_
vcard - Imports contacts from the given vCard.
- import_
vcard_ ๐contact - make_
vcard - Returns a vCard containing contacts with the given ids.
- may_
be_ valid_ addr - Returns false if addr is an invalid address, otherwise true.
- set_
blocked ๐ - set_
profile_ ๐image - Set profile image for a contact.
- set_
status ๐ - Sets contact status.
- split_
address_ ๐book - update_
chat_ ๐names - update_
last_ ๐seen - Updates last seen timestamp of the contact if it is earlier than the given
timestamp
.