Message

toloka.client.message_thread.MessageThread.Message | Source code

Message(
self,
*,
text: Optional[Dict[str, str]] = None,
from_: Optional[Interlocutor] = None,
created: Optional[datetime] = None
)

A message in a thread.

Parameters description

ParametersTypeDescription
textOptional[Dict[str, str]]

The message text. The text is a dictionary with two letter language codes as keys.

from_Optional[Interlocutor]

Information about the sender.

createdOptional[datetime]

The date and time when the message was created.

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