MessageThreadSearchRequest

toloka.client.search_requests.MessageThreadSearchRequest | Source code

MessageThreadSearchRequest(
self,
folder: Union[str, Folder, List[Union[str, Folder]], None] = None,
folder_ne: Union[str, Folder, List[Union[str, Folder]], None] = None,
id_lt: Optional[str] = None,
id_lte: Optional[str] = None,
id_gt: Optional[str] = None,
id_gte: Optional[str] = None,
created_lt: Optional[datetime] = None,
created_lte: Optional[datetime] = None,
created_gt: Optional[datetime] = None,
created_gte: Optional[datetime] = None
)

Parameters for searching message threads.

Parameters description

ParametersTypeDescription
folderOptional[List[Folder]]

A folder where to search threads or a list of folders. Refer to the Folder page for more information on the available folder values.

folder_neOptional[List[Folder]]

A folder to skip or a list of folders. Supported values are the same as for folder.

id_ltOptional[str]

Threads with IDs less than the specified value.

id_lteOptional[str]

Threads with IDs less than or equal to the specified value.

id_gtOptional[str]

Threads with IDs greater than the specified value.

id_gteOptional[str]

Threads with IDs greater than or equal to the specified value.

created_ltOptional[datetime]

Threads created before the specified date.

created_lteOptional[datetime]

Threads created before or on the specified date.

created_gtOptional[datetime]

Threads created after the specified date.

created_gteOptional[datetime]

Threads created after or on the specified date.

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming