code: def _prepare_request(self, command, query):
          
          from luckydonaldUtils.encoding import to_native as n
          from pytgbot.api_types.sendable import Sendable
          from pytgbot.api_types import as_array
          from DictObject import DictObject
          import json
  
          params = {}
          for key in query.keys():
              element = query[key]
              if element is not None:
                  if isinstance(element, Sendable):
                      params[key] = json.dumps(as_array(element))
                  else:
                      params[key] = element
          url = self._base_url.format(api_key=n(self.api_key), command=n(command))
          return DictObject(url=url, params=params)
docs: :param command: The Url command parameter
          :type  command: str
  
          :param query: will get json encoded.
          :type  query: dict
  
          :return: