feat: add chat-deleted event

This commit is contained in:
B. Petersen
2025-03-05 23:05:07 +01:00
committed by bjoern
parent d6209e08e6
commit 9a915b2a95
5 changed files with 33 additions and 1 deletions

View File

@@ -6314,6 +6314,18 @@ void dc_event_unref(dc_event_t* event);
#define DC_EVENT_CHAT_EPHEMERAL_TIMER_MODIFIED 2021
/**
* Chat was deleted.
* This event is emitted in response to dc_delete_chat()
* called on this or another device.
* The event is a good place to remove notifications or homescreen shortcuts.
*
* @param data1 (int) chat_id
* @param data2 (int) 0
*/
#define DC_EVENT_CHAT_DELETED 2023
/**
* Contact(s) created, renamed, verified, blocked or deleted.
*