К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-tool-create-broadcast.mdиндекс документации — /llms.txt

create_broadcast

Обновлено

Create a rich broadcast draft in one call — one identical message to a segment; for a personal text to each customer use prepare_reply_batch instead. Choosing the path: a personal text for each customer goes through prepare_reply_batch then execute_reply_batch; one identical message to a whole segment goes through broadcasts (create_broadcast). Give required `content` and optional structured `segment_filter`, schedule, delivery target, reply setting, TTL and button. People who refused advertising are left out unless `include_opted_out` is true, which is the client's own risk. This never sends. The text may address each recipient: {first_name}, {last_name}, {full_name} are filled per recipient (empty when the recipient has none); any other `{name}` is sent as written and `warnings` names it. The declared rich-launch workflow has exactly four calls: create_broadcast, one get_content_draft poll that must return published `id`, prepare_broadcast_launch, then (only after final human confirmation) execute_broadcast_launch. If that one poll is not published, stop: it is not a hidden retry budget.

Права и условия

required_scopes: ALL.

ПолеЗначение
description"Create a rich broadcast draft in one call — one identical message to a segment; for a personal text to each customer use prepare_reply_batch instead. Choosing the path: a personal text for each customer goes through prepare_reply_batch then execute_reply_batch; one identical message to a whole segment goes through broadcasts (create_broadcast). Give required `content` and optional structured `segment_filter`, schedule, delivery target, reply setting, TTL and button. People who refused advertising are left out unless `include_opted_out` is true, which is the client's own risk. This never sends. The text may address each recipient: {first_name}, {last_name}, {full_name} are filled per recipient (empty when the recipient has none); any other `{name}` is sent as written and `warnings` names it. The declared rich-launch workflow has exactly four calls: create_broadcast, one get_content_draft poll that must return published `id`, prepare_broadcast_launch, then (only after final human confirmation) execute_broadcast_launch. If that one poll is not published, stop: it is not a hidden retry budget."
domain"broadcasts"
name"create_broadcast"
platform_version"1.0.34"
required_scopes["broadcasts:write"]
risk"write"
scope"broadcasts:write"
title"Create Broadcast"

Входные параметры

create_broadcast: inputSchema

Результат

create_broadcast: outputSchema