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

@@ -219,6 +219,12 @@ pub enum EventType {
timer: EphemeralTimer,
},
/// Chat was deleted.
ChatDeleted {
/// Chat ID.
chat_id: ChatId,
},
/// Contact(s) created, renamed, blocked, deleted or changed their "recently seen" status.
///
/// @param data1 (int) If set, this is the contact_id of an added contact that should be selected.