toloka.client.message_thread.MessageThread | Source code
MessageThread(self,*,id: Optional[str] = None,topic: Optional[Dict[str, str]] = None,interlocutors_inlined: Optional[bool] = None,interlocutors: Optional[List[Interlocutor]] = None,messages_inlined: Optional[bool] = None,messages: Optional[List[Message]] = None,meta: Optional[Meta] = None,answerable: Optional[bool] = None,folders: Optional[List[Folder]] = None,compose_details: Optional[ComposeDetails] = None,created: Optional[datetime] = None)
The sent message is added to the new message thread. Until the first response is received the message chain is in the folder UNREAD. If there are several addresses in the chain and one of them responds, a new message chain will be created
Message thread ID.
Message thread title.
Access information about the sender and recipients.
Information about the sender and recipients, sorted by IDs.
Access to message threads:
Messages in the thread. Sorted by creation date (new first).
Ability to reply to a message:
Folders where the thread is located.
For messages that you sent: details of the POST request for creating the message.
The date the first message in the chain was created.