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.
- Messenger
Message π - 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 themsgs.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 givenrfc724_mid
(Message-ID header) and boolexpr
result if such messages exists in the db. - set_
msg_ πfailed - update_
msg_ πstate