docs: function buildDialogHtml(dialogId, dialogUnreadMessagesCount, dialogIcon, dialogName, dialogLastMessage) {
    var UnreadMessagesCountShow = '<span class="badge">'+dialogUnreadMessagesCount+'</span>';
        UnreadMessagesCountHide = '<span class="badge" style="display: none;">'+dialogUnreadMessagesCount+'</span>';
  
    var isMessageSticker = stickerpipe.isSticker(dialogLastMessage);
  
    var dialogHtml =
        '<a href="#" class="list-group-item inactive" id='+'"'+dialogId+'"'+' onclick="triggerDialog('+"'"+dialogId+"'"+')">'+
                     (dialogUnreadMessagesCount === 0 ? UnreadMessagesCountHide : UnreadMessagesCountShow)+
          '<h4 class="list-group-item-heading">'+ dialogIcon+'&nbsp;&nbsp;&nbsp;' +
              '<span>'+dialogName+'</span>' +
          '</h4>'+
          '<p class="list-group-item-text last-message">'+
              (dialogLastMessage === null ?  "" : (isMessageSticker ? 'Sticker' : dialogLastMessage))+
          '</p>'+
        '</a>';
    return dialogHtml;
  }