code: @Override
      public ChatMember[] getChatAdministrators(ChatId chat_id) throws IOException {
          AnalyticsData data = new AnalyticsData("getChatAdministrators");
          IOException ioException = null;
          ChatMember[] admins = null;
          data.setValue("chat_id", chat_id);
          try {
              admins = bot.getChatAdministrators(chat_id);
              data.setReturned(admins);
          } catch (IOException e) {
              ioException = e;
              data.setIoException(ioException);
          }
          analyticsWorker.putData(data);
          if (ioException != null) {
              throw ioException;
          }
          return admins;
      }
docs: Use this method to get a list of administrators in a chat.
  
  @param chat_id Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
  @return On success, returns an Array of ChatMember objects that contains information about all chat administrators except other bots.
  If the chat is a group or a supergroup and no administrators were appointed, only the creator will be returned.
  @throws IOException an exception is thrown in case of any service call failures