get_messages
Fetch Telegram posts by URL or chat/message ID, including authors, replies, attachments, reactions, polls, and previews while preserving input order and reporting missing messages.
Instructions
Fetch posts by Telegram URL, 'chat_id:message_id', or {chat_id, message_id}.
Includes authors, reply references, attachments, original links, available counters,
aggregate reactions, polls and available web-page previews. Unknown metadata is omitted;
previews come from the message payload without fetching external URLs. has_link is
independent of content_type. No extra requests are made for metadata or voter/reactor
identities. Polls retain content_type="other".
Missing messages produce individual issues with zero-based input_index. Input order and
duplicates are preserved. For truncated text call again with next_text_offset.
Public channels outside the allowlist require allow_public_channel_reads;
linked discussions need ordinary access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | Yes | ||
| text_limit | No | ||
| text_offset | No |