Closed adbenitez closed 4 years ago
account hook ac_incoming_message isn't triggered on member added/removed events, but since deltabot uses account.get_fresh_messages() fresh member added/removed events are returned and processed as incoming messages
ac_incoming_message
account.get_fresh_messages()
As discussed on chat, you can call message.is_system_message() within a deltabot_incoming_message hook implementation.
message.is_system_message()
deltabot_incoming_message
see https://py.delta.chat/api.html#deltachat.message.Message.is_system_message
account hook
ac_incoming_message
isn't triggered on member added/removed events, but since deltabot usesaccount.get_fresh_messages()
fresh member added/removed events are returned and processed as incoming messages