code: def dispatchlist(self, *, author=None, category=None,
                       subcategory=None, sort='new'):
          params = {'sort': sort}
          if author:
              params['dispatchauthor'] = author
          if category and subcategory:
              if (category not in dispatch_categories or
                      subcategory not in dispatch_categories[category]):
                  raise ValueError('Invalid category/subcategory')
              params['dispatchcategory'] = f'{category}:{subcategory}'
          elif category:
              if category not in dispatch_categories:
                  raise ValueError('Invalid category')
              params['dispatchcategory'] = category
          else:
              raise ValueError('Cannot request subcategory without category')
          @api_query('dispatchlist', **params)
          async def result(_, root):
              return [
                  DispatchThumbnail._from_elem(elem)
                  for elem in root.find('DISPATCHLIST')
              ]
          return result(self)