remove_message_thread_from_folders

toloka.client.TolokaClient.remove_message_thread_from_folders | Source code

remove_message_thread_from_folders(
self,
message_thread_id: str,
folders: Union[List[Folder], MessageThreadFolders]
)

Removes a message thread from folders.

Parameters description

ParametersTypeDescription
message_thread_idstr

The ID of the message thread.

foldersUnion[List[Folder], MessageThreadFolders]

A list of folders.

  • Returns:

    The updated message thread.

  • Return type:

    MessageThread

Examples:

toloka_client.remove_message_thread_from_folders(
message_thread_id='62e2e2d68664736ed5df8488',
folders=['IMPORTANT']
)

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