manage_audience
Create, list, rename, delete, or clone custom audiences for Telegram Ads. Upload user IDs from a file or array; confirm delete or clone operations with a hash.
Instructions
Custom audiences. action=list|create|rename|delete|clone.
create: pass file_path (one user id per line) or user_ids=[...].
delete/clone: two-step confirm_hash (platform). confirm is TG_ADS_WRITE_GATE.
list is not gated. Access denied → code:access_denied, hint:skip (do not retry).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| action | Yes | ||
| confirm | No | ||
| user_ids | No | ||
| file_path | No | ||
| audience_id | No | ||
| confirm_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||