code: @Deprecated
      @ObjectiveCName("formatDialogText:")
      public String formatDialogText(Dialog dialog) {
          // Detecting if dialog is empty
          if (dialog.getSenderId() == 0) {
              return "";
          } else {
              String contentText = formatContentText(dialog.getSenderId(),
                      dialog.getMessageType(), dialog.getText(), dialog.getRelatedUid(),
                      dialog.isChannel());
              if (dialog.getPeer().getPeerType() == PeerType.GROUP && !dialog.isChannel()) {
                  if (!isLargeDialogMessage(dialog.getMessageType())) {
                      return formatPerformerName(dialog.getSenderId()) + ": " + contentText;
                  } else {
                      return contentText;
                  }
              } else {
                  return contentText;
              }
          }
      }
docs: Formatting Dialog List text. Deprecated: you need to manually format Content and append
  performer if needed and highlight it
  
  @param dialog dialog to format
  @return formatted content