code: def bans_list(self, limit=None, max_id=None, since_id=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/chat/bans#get-all-bans"
          api_path = "/api/v2/bans"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if limit:
              api_query.update({
                  "limit": limit,
              })
          if max_id:
              api_query.update({
                  "max_id": max_id,
              })
          if since_id:
              api_query.update({
                  "since_id": since_id,
              })
          return self.call(api_path, query=api_query, **kwargsf bans_list(self, limit=None, max_id=None, since_id=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/chat/bans#get-all-bans"
          api_path = "/api/v2/bans"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if limit:
              api_query.update({
                  "limit": limit,
              })
          if max_id:
              api_query.update({
                  "max_id": max_id,
              })
          if since_id:
              api_query.update({
                  "since_id": since_id,
              })
          return self.call(api_path, query=api_query, **kwargs)
docs: https://developer.zendesk.com/rest_api/docs/chat/bans#get-all-bans