code: public Chat getChat(String chatID) {
  
          try {
  
              MultipartBody request = Unirest.post(getBotAPIUrl() + "getChat")
                      .field("chat_id", chatID, "application/json; charset=utf8;");
              HttpResponse<String> response = request.asString();
              JSONObject jsonResponse = Utils.processResponse(response);
  
              if (jsonResponse != null && Utils.checkResponseStatus(jsonResponse)) {
  
                  JSONObject result = jsonResponse.getJSONObject("result");
  
                  return ChatImpl.createChat(result, this);
              }
          } catch (UnirestException e) {
              e.printStackTrace();
          }
  
          return null;
      }
docs: A method used to get a Chat object via the chats ID
  
  @param chatID The Chat ID of the chat you want a Chat object of
  
  @return A Chat object or null if the chat does not exist or you don't have permission to get this chat