Read & Unread Indicators

Notifications status counters

In this section you will be able to know the number of notifications that are in the Inbox according to their status, the model is as follows:

counter = {
    click: int,
    sent: int,
    deleted: int,
    unread: {
       count: int,
       lastAccess: "string" 
    }
}

And it is done with this method:

indigitall.getInboxMessagesCount({auth: getAuthConfig}, (counter)=>{
    //DO SOMETHING
},(error)=>{
    //LOG ERROR 
});