Now we will need to define our protocol. For this functionality, we will need three Actors. The Actors that we create will be as follows:
ChatUserActor will need to join
JoinChatRoom object in order to start chatting.
ChatUserActor will also need to send messages to
ChatMessage class to the
ChatRoomActor that will broadcast messages to all users. The
ChatBotAdmin will get a report from
GetStats object from
Let's start coding this protocol. First, we will need to define the messages that will be exchanged between ...