File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1611,10 +1611,10 @@ void dc_set_chat_visibility (dc_context_t* context, uint32_t ch
16111611 *
16121612 * Messages are deleted from the device and the chat database entry is deleted.
16131613 * After that, the event #DC_EVENT_MSGS_CHANGED is posted.
1614+ * Messages are deleted from the server in background.
16141615 *
16151616 * Things that are _not_ done implicitly:
16161617 *
1617- * - Messages are **not deleted from the server**.
16181618 * - The chat or the contact is **not blocked**, so new messages from the user/the group may appear
16191619 * and the user may create the chat again.
16201620 * - **Groups are not left** - this would
Original file line number Diff line number Diff line change @@ -795,11 +795,11 @@ impl CommandApi {
795795 /// Delete a chat.
796796 ///
797797 /// Messages are deleted from the device and the chat database entry is deleted.
798- /// After that, the event #DC_EVENT_MSGS_CHANGED is posted.
798+ /// After that, a `MsgsChanged` event is emitted.
799+ /// Messages are deleted from the server in background.
799800 ///
800801 /// Things that are _not done_ implicitly:
801802 ///
802- /// - Messages are **not deleted from the server**.
803803 /// - The chat or the contact is **not blocked**, so new messages from the user/the group may appear as a contact request
804804 /// and the user may create the chat again.
805805 /// - **Groups are not left** - this would
Original file line number Diff line number Diff line change @@ -600,6 +600,10 @@ impl ChatId {
600600 }
601601
602602 /// Deletes a chat.
603+ ///
604+ /// Messages are deleted from the device and the chat database entry is deleted.
605+ /// After that, a `MsgsChanged` event is emitted.
606+ /// Messages are deleted from the server in background.
603607 pub async fn delete ( self , context : & Context ) -> Result < ( ) > {
604608 self . delete_ex ( context, Sync ) . await
605609 }
You can’t perform that action at this time.
0 commit comments