How to save received messages from one signal in the application?

Tell me please I want to make an old with messages from one signal how can this be implemented?

Never tried this, but may you get the solution.

Could you further explain what you mean? All extra amounts of detail allow others to further help you to getting a solution.