Module deltachat::webxdc

source ·
Expand description

§Handle webxdc messages.

Internally status updates are stored in the msgs_status_updates SQL table. msgs_status_updates contains the following columns:

  • id - status update serial number
  • msg_id - ID of the message in the msgs table
  • update_item - JSON representation of the status update
  • uid - “id” field of the update, used for deduplication

Status updates are scheduled for sending by adding a record to smtp_status_updates_table SQL table. smtp_status_updates contains the following columns:

  • msg_id - ID of the message in the msgs table
  • first_serial - serial number of the first status update to send
  • last_serial - serial number of the last status update to send
  • descr - text to send along with the updates

Modules§

Structs§

Constants§

  • The current API version. If min_api in manifest.toml is set to a larger value, the Webxdc’s index.html is replaced by an error message. In the future, that may be useful to avoid new Webxdc being loaded on old Delta Chats.
  • Suffix used to recognize webxdc files.

Functions§