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 the sender or recipient.

Parameters Description

ParametersTypeDescription
idOptional[str]

ID of the sender or recipient.

roleOptional[InterlocutorRole]

Role of the sender or recipient in Toloka.

myselfOptional[bool]

Marks a sender or recipient with your ID. If the ID belongs to you, the value is True.

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