Expand description
Β§Messages and their identifiers.
Structs§
- An object representing a single message in memory. The message object is not updated. If you want an update, you have to recreate the object.
- Message ID, including reserved IDs.
Enums§
- State of the message. For incoming messages, stores the information on whether the message was read or not. For outgoing message, the message could be pending, already delivered or confirmed.
- MessengerMessage π
- How a message is primarily displayed.
Functions§
- Deletes requested messages by moving them to the trash chat and scheduling for deletion on IMAP.
- Estimates the number of messages that will be deleted by the options
delete_device_after
ordelete_server_after
. - get_by_rfc724_mids πGiven a list of Message-IDs, returns the most relevant message found in the database.
- Get the raw mime-headers of the given message. Raw headers are saved for incoming messages only if
set_config(context, "save_mime_headers", "1")
was called before. - Returns contacts that sent read receipts and the time of reading.
- Returns the number of messages in contact request chats.
- The number of messages assigned to unblocked chats
- get_vcard_summary πReturns the 1st part of summary text (i.e. before the dash if any) for a valid DeltaChat vCard.
- Marks requested messages as seen.
- normalize_text πReturns text for storing in the
msgs.txt_normalized
column (to make case-insensitive search possible for non-ASCII messages). - rfc724_mid_exists π
- rfc724_mid_exists_ex πReturns MsgId and βsentβ timestamp of the most recent message with given
rfc724_mid
(Message-ID header) and boolexpr
result if such messages exists in the db. - set_msg_failed π
- update_msg_state π