Toloka documentation


toloka.client.message_thread.Interlocutor | Source code

    id: Optional[str] = None,
    role: Union[InterlocutorRole, str, None] = None,
    myself: Optional[bool] = None

Information about the sender or recipient.

Parameters Description

Parameters Type Description
id Optional[str]

ID of the sender or recipient.

role Optional[InterlocutorRole]

Role of the sender or recipient in Toloka.

myself Optional[bool]

Marks a sender or recipient with your ID. f the ID belongs to you, the value is specified true.