Page tree
Skip to end of metadata
Go to start of metadata

Using the chat module you can create conversations with multiple other attendees. Attendees may be selected during a conversation from all your apps users.

Each user can send messages, including images or files and follow the other users messages in the conversation.


 Nothing to configure here.


The chat module provides you the class ConversationModel, a container for a conversation containing all attended users as a list and all messages, covered by the MessageModel class.

At first create or load a user and configure the datastore:


Android  Expand source
JavaScript  Expand source

Now load an existing conversation model:

Android  Expand source
JavaScript  Expand source


Or create a new conversation model:


Android  Expand source
JavaScript  Expand source


After a conversation model exists, messages can be sent.


Android  Expand source
JavaScript  Expand source


Finally, all messages can be loaded.


Android  Expand source
JavaScript  Expand source

Showcase mobile app for the Android Play Store using apiOmat Backend as a Service

After the chat module was included in our dashboard, we built an app called ChatOMat.

As you should be able to see the full code and learn how easy a interaction with apiOmat is, the full code is available as open source at github. Just download and run!

One notice: The ChatOMat uses my apiOmat account by default. That is, you won't be able to see the data coming in in the dashboard nor extending the functionality with own data models and so on. At best, just

  • create your own app at the dashboard
  • don't forget to add the chat module,
  • deploy,
  • download the Android SDK,
  • and replace the content of the <em>frontend</em> directory with the classes from the zipped SDK

Any questions?

  • No labels