I\'m working on an application that allows a user to send and receive text messages through a third party API. In order to display received messages in real time, I am using