Interlocutor

toloka.client.message_thread.Interlocutor | Source code

Interlocutor(
self,
*,
id: Optional[str] = None,
role: Union[InterlocutorRole, str, None] = None,
myself: Optional[bool] = None
)

Information about a message sender or recipient.

Parameters description

ParametersTypeDescription
idOptional[str]

The ID of the sender or recipient.

roleOptional[InterlocutorRole]

The role in Toloka.

myselfOptional[bool]

A flag that is set to True when the ID is yours.

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