# media\_finalize

Source: <https://telegafirst.com/docs/mcp-tool-media-finalize>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: 5b9125d9ca60d96040c13a823293c3b466a87bb10a02729a403641ef0ece8427
Version: 8

# media\_finalize

Step 2 of 2 — close an upload and get the media references to publish with. PREREQUISITE: every declared byte was PUT to its returned write-once URL. Returns one \`mediaRef\` per file that actually landed — pass those verbatim as media on a publish tool; they are storage references, not links, and the platform signs a fresh fetchable URL at send time. Also returns \`albumSendable\`: when false the files cannot travel as ONE Telegram album (only photos and videos mix; documents ride alone) and must be published separately. Fails if nothing was uploaded.

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

required\_scopes: ALL.

| Поле | Значение |
| - | - |
| description | "Step 2 of 2 — close an upload and get the media references to publish with. PREREQUISITE: every declared byte was PUT to its returned write-once URL. Returns one \`mediaRef\` per file that actually landed — pass those verbatim as media on a publish tool; they are storage references, not links, and the platform signs a fresh fetchable URL at send time. Also returns \`albumSendable\`: when false the files cannot travel as ONE Telegram album (only photos and videos mix; documents ride alone) and must be published separately. Fails if nothing was uploaded." |
| domain | "content" |
| name | "media\_finalize" |
| platform\_version | "1.0.20" |
| required\_scopes | \["content:write"] |
| risk | "write" |
| scope | "content:write" |
| title | "Media Finalize" |

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

[media\_finalize: inputSchema](https://telegafirst.com/docs/schema-5d918e11b55a23d7d1fab22fd1e5450a0de75523299ae02d054e300781c99ae0)

## Результат

null
