mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
New `dc_msg_is_bot()` C API and corresponding `Message.is_bot()` Python API can be used to check if incoming message is sent by a bot, e.g. to avoid two echo bots replying indefinitely to each other. "Bot" flag is not set for outgoing messages, but may be set for BCC-self messages. For now documentation says that `dc_msg_is_bot()` return value is unspecified for outgoing messages. It can be better specified later if needed for specific applications, e.g. sharing an account with a helper bot.
Delta Chat C Interface
Documentation
To generate the C Interface documentation,
call doxygen in the deltachat-ffi directory
and browse the html subdirectory.
If thinks work, the documentation is also available online at https://c.delta.chat