Document toolboxDocument toolbox

Messages overview

This page provides an overview of the various types of messages that Microbizz can handle.

Mails

These are described in the Mail overview section.

Push messages

The technical details are described here: Push messages.

Push messages are sent from Microbizz to the mobile app, using Google or Apple APIs. Push messages are almost instantaneous.

Push messages are handled by the class UserCommunication, usually by calling UserCommunication::push() They may be sent to instruct the app to do something, like synchronize with MB because MB has detected changes that are relevant for the app, or to inform the user that they need to do something.

Push message can also sent from actions in the Reminder module, or to remind you of a worksheet that hasn't been closed.

Notifications

Notifications are accessed through the Notification icon in Microbizz; this is bell icon located at the top of the screen.

Notification are a special case of the Stodo object. They can be created using Stodo::notificationNote() or Todo::createNotification() or Stodo::createNotification(), or as a result of a reminder action, or as a result of a note been written on a thread.

There are API calls for handling notifications: GetNotification. The API call PostMessage may also create notifications.

Notes

You can write notes on lots of objects: tasks, customers, equipments, users, projects etc etc. There is a an old notes system which is probably not used by anyone.

A Thread consists of a number of notes (the class Messages). When a note is written, it may result in mails and notifications being sent to the subscribers of the thread.

There are API calls for handling threads and notes: GetThreads, GetThreadsByLastChange, GetThreadByID, GetMessagesByLastChange.

Messaging

The messaging system in Microbizz is accessed through the Messages icon, which is located next to the Notification icon; from here you can send message to other users.

Messages are notes that do not belong to a Thread.

There are API calls for handling messages (GetMBMessagesByLastChange and SendMBMessage) which sends a message.

SMS

Microbizz can send and receive SMSs. The technical details are described here: SMS.

SMSs may be sent by a reminder action or a reminder, or by a question form action, or to notify about a planning or when using two factor login.