Toloka documentation

MessageThreadSortItems

toloka.client.search_requests.MessageThreadSortItems

MessageThreadSortItems(self, items=None)

Parameters for sorting message thread search results

You can specify multiple parameters. To change the sorting direction (sort in descending order), add a hyphen before the parameter. For example, sort=-id.

Parameters Description

Parameters Type Description
items Optional[List[SortItem]]

Fields by which to sort. Possible values:

  • id - Thread ID in ascending order.
  • created - Creation date in UTC format yyyy-MM-DD (ascending).