We've seen so many implementations of message bots lately, it's difficult to remember who came up with the original idea. But when I was first introduced to these automation systems, I noticed that they all had one commonality. They all made use of a functional messaging system and each of them used some basic AI features.
The Chatbot Hub was the first to be developed, a chatbot hub, as it is called, was developed by Microsoft's Skype. It uses Microsoft Skype Graph. Nowadays, we often hear about Facebook Chatbot implementations in chat platforms. To help you understand the problem better, let me provide you with an example of a Messenger Bot implementation in a Java platform.
Jave (by Google) is another messaging platform that has a Java Bot Framework. Messenger Bot implementations for Jave run the bot on the server. The UI usually has many links, one of which is the About Jave button. This button brings up the About Jave page.
What if we wanted to develop a Messenger Bot for Jave? How would we do it? In order to avoid long URLs, or code duplication, we can implement our own Chat interface in our Jave messenger application. In this way, we can always choose what we want to use.
Let's say we want to make a local chat. We can get the current time, create a new message with all the details, and send it to all our clients. Or, we can select one client and send it a message. Maybe the only problem with this is that we need to keep the message content within the channel. Then again, we can delete the message after it is sent.
An important aspect of any local chat is that the participants should be able to talk about anything. You don't want the chatbot to think that the topic has already been exhausted. A good way to accomplish this is to add some messages on our channel. We should be able to mention about the local weather, to "telecommute" for instance.
Then, we can simply create some subchannels on our local chat. These subchannels should also be named according to their topic. Now, if we go back to our Bot interface for Jave, we can select the new "Bot Hub" tab and create a subchannel for "Weather"Telecommute".
After creating a new subchannel, we have to send a message to the bot on that topic. We can do this by clicking the "Send Message" button.
"Current Time" should be one of the topics for local chat. Then, our bot should respond with a message telling us if it will be telecommuting! Of course, a good use of "Telecommute" is to "telecommute" with someone who also has a Messenger Bot for Jave implemented. So, in this case, we have two possibilities: either our bot will reply to the topic it is associated with or it will reply to the other.
We might also want to announce a meeting of some kind. Or, we can announce that we're getting together soon. "Bot" can do that by sending out some text in the form of an invitation. Now that we have known what can be achieved with a Messenger Bot for Jave, there is not much more to know. In order to continue having fun with our bot, we just need to be careful and know how to use it correctly.