Get media content inline
get_media_contentFetch photos from specific Telegram messages and return them as inline base64 images for web clients, avoiding URL fetching. Non-image files return a note and download URL.
Instructions
Fetch photos/images from specific messages and return them INLINE as native image content (base64), so web clients can read screenshots without fetching a URL. Non-image files return a short text note plus their download URL; voice / round video return a note pointing at get_messages field transcription. Limits: max 6 images per call; originals over 5 MB are skipped with a note. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Target chat: numeric id (e.g. -100…), a username with or without the leading @ (resolved server-side, no lookup call needed), or 'me' for Saved Messages. | |
| message_ids | Yes | Exact message ids to fetch. Mutually exclusive with query and reply_to_id. |