How can I completely deleted unwanted messages and photo received from iMessage?

How to completely deleted unwanted messages and photo received from I Message?
In other word. I don't want other people to recover these by any chance.
delete the thread and then do an iCloud back up

Original thread: https://forums.imore.com/threads/how-can-i-completely-deleted-unwanted-messages-and-photo-received-from-imessage.299666/