# media\_finalize

Source: <https://telegafirst.com/docs/mcp-tool-media-finalize>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 4b18c078ee7f676bb94986c226f495827a98b61ec85eae84d102ca67f137cb43
Version: 2

# 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
