# publish\_entity

Source: <https://telegafirst.com/docs/mcp-tool-publish-entity>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 588cc4494eadc5556e513dc877680901a01d3cd27b16f6ee8fb72ae0e5516d16
Version: 2

# 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](https://telegafirst.com/docs/schema-a2f601cf40c0969426f7d505bc8ab30b01cd3f589a315b2b8467965d08d23e87)

## Результат

[publish\_entity: outputSchema](https://telegafirst.com/docs/schema-bd5444b692d86ea3eeaa7ef0d9539d7be84fd1032e6036435ed160f08544029e)
