How can channels be used for liking and commenting posts?

Hello, I was working with phoenix channels and was trying to add a feature to interact with the messages sent on a particular channel. Like people can share posts and other people in the channel can like, comment etc. I was wondering how it can be done.