Messages you delete stay here for 30 days, only you can see this list. Restoring puts the message back where it was. Messages deleted for everyone can be restored for 30 days too.