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

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

publish_entity

Обновлено

Create, replace or restore content cards in the client's Telegram Settings supergroup — catalog items, order statuses, marketing campaigns, broadcasts, message-chain steps, events. Pass `items:[…]`: one call imports a whole batch (mixed topics allowed), each item carrying its card text (and any `mediaRefs` from media_finalize) plus the `config` fields for its targetTopic. The reply is per element: `results[i]` is `ok` with a tenant-scoped `draftHandle` while publishing, or the entity `seqNum` when available; one bad item never aborts the rest. Poll `get_content_draft` with a returned `draftHandle`. Retrying the identical request is safe. Batch size is capped by your plan; over it, nothing is written.

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

required_scopes: ALL.

ПолеЗначение
description"Create, replace or restore content cards in the client's Telegram Settings supergroup — catalog items, order statuses, marketing campaigns, broadcasts, message-chain steps, events. Pass `items:[…]`: one call imports a whole batch (mixed topics allowed), each item carrying its card text (and any `mediaRefs` from media_finalize) plus the `config` fields for its targetTopic. The reply is per element: `results[i]` is `ok` with a tenant-scoped `draftHandle` while publishing, or the entity `seqNum` when available; one bad item never aborts the rest. Poll `get_content_draft` with a returned `draftHandle`. Retrying the identical request is safe. Batch size is capped by your plan; over it, nothing is written."
domain"content"
name"publish_entity"
platform_version"1.0.20"
required_scopes["content:write"]
risk"write"
scope"content:write"
title"Publish Entity"

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

publish_entity: inputSchema

Результат

publish_entity: outputSchema