code: async def setWebhook(self,
                           url=None,
                           certificate=None,
                           max_connections=None,
                           allowed_updates=None):
          
          p = _strip(locals(), more=['certificate'])
  
          if certificate:
              files = {'certificate': certificate}
              return await self._api_request('setWebhook', _rectify(p), files)
          else:
              return await self._api_request('setWebhook', _rectify(p))
docs: See: https://core.telegram.org/bots/api#setwebhook