Set activity audience
set_activity_audienceSet who the activity is aimed at: content language, target audience and knowledge area. Call it only when the user asks for one of these; a title or a description never needs it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Knowledge area id. 0 removes the current one. | |
| lang | No | Content language code (es, en, fr...). Changing it relabels the activity for that language. | |
| audience | No | Who the activity is for, as {"kind": "age"|"subject", "value": number}: kind age takes a recommended age from 0 to 21, kind subject takes a subject id. They are the two ways of saying the same thing, so this object holds only one of them. | |
| activity_id | Yes | Id of the activity. |