get_album
Reads messages from a Telegram album around a URL or message reference by scanning neighboring messages and returning same-chat album members in oldest-first order.
Instructions
Read messages from one album around a member's Telegram URL or message reference.
ref accepts a URL, 'chat_id:message_id', or {chat_id, message_id}. Scans up to
scan_limit neighboring messages on each side, including intervening nonmembers,
then returns matching messages from the same chat in oldest_first order.
completeness is always unknown: Telegram provides no album manifest. Exhaustion
fields describe history boundaries, not album completeness. There is no cursor.
Missing anchors return MESSAGE_UNAVAILABLE; ungrouped anchors return NOT_AN_ALBUM.
Neighbor failures return partial messages and issues. On temporary issues, retry the
whole call after any retry_after_seconds. Initial access/anchor failures are errors.
Text budgets apply; use get_messages with next_text_offset for truncated text.
Explicit public channels require the existing read permission. This tool does not
traverse linked discussions, download attachments, or mark messages read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| scan_limit | No |