When you delete a message, attachment, or conversation in iCloud, it will be deleted from all your devices. When you turn off Messages in iCloud on an iPhone or iPad, your message history is included in a separate iCloud backup.