Files
chatmail-core/python/src/deltachat
link2xt f820671d53 Use Auto-Submitted: auto-generated header to identify bots
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.
2021-06-19 17:36:20 +03:00
..
2021-04-30 10:56:27 +03:00
2021-04-12 14:59:15 -04:00
2020-06-11 09:22:31 +02:00
2021-02-11 13:57:49 +03:00
2020-10-26 20:34:52 +01:00
2020-07-16 11:56:13 +02:00
2020-01-30 17:47:40 +01:00