Is there any documentation about how to create something like a new button on the right top menu that could allow to add some metadata to a chat room?
As per the question you posted in open.rocket.chat you would need to dig in to the code to do that.