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)
Sent message to a Toloker.
Parameters | Type | Description |
---|---|---|
recipients_select_type | Optional[RecipientsSelectType] | Method for specifying recipients |
topic | Optional[Dict[str, str]] | Post title. You can provide a title in several languages (the message will come in the Toloker's language). Format: "<language RU/EN/TR/ID/FR>": "<topic text>". |
text | Optional[Dict[str, str]] | Message text. You can provide text in several languages (the message will come in the Toloker's language). Format: "<language RU/EN/TR/ID/FR>": "<message text>". |
answerable | Optional[bool] | Ability to reply to a message:
|
recipients_ids | Optional[List[str]] | List of IDs of Tolokers to whom the message will be sent. |
recipients_filter | Optional[FilterCondition] | Filter to select recipients. |