pub async fn delete_msgs_ex(
context: &Context,
msg_ids: &[MsgId],
delete_for_all: bool,
) -> Result<()>
Expand description
Delete messages on all devices, on IMAP and optionally for all chat members. Deleted messages are moved to the trash chat and scheduling for deletion on IMAP. When deleting messages for others, all messages must be self-sent and in the same chat.