How to make a click-to-navigate logging system?

I have a logging bot which logs deleted messages into a private channel. I want to add a link to the logs that will navigate me to the context of the deleted message, so that I can see what was happening there at that time.
Is that possible?
Was this page helpful?