My question is about a complex use case of generics in Swift. I\'ll try to explain as clearly as possible.
User of my iOS chat app can send different type of messages