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

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

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

Результат

null