toloka.client.message_thread.MessageThreadCompose
| Source code
MessageThreadCompose( self, *, recipients_select_type: Union[RecipientsSelectType, str, None] = None, topic: Optional[Dict[str, str]] = None, text: Optional[Dict[str, str]] = None, answerable: Optional[bool] = None, recipients_ids: Optional[List[str]] = None, recipients_filter: Optional[FilterCondition] = None)
Parameters for creating a message thread with the first message.
The topic
and text
parameters are dictionaries.
Two letter language code is a key in the dictionaries. If available, the text in a Toloker preferred language is used.
Parameters | Type | Description |
---|---|---|
recipients_select_type | Optional[RecipientsSelectType] | The way of specifying message recipients. |
topic | Optional[Dict[str, str]] | The message thread title. |
text | Optional[Dict[str, str]] | The message text. |
answerable | Optional[bool] |
|
recipients_ids | Optional[List[str]] | A list of Toloker IDs. It is filled if |
recipients_filter | Optional[FilterCondition] | A filter for selecting Tolokers. It is set if |
Last updated: August 28, 2023