Telegram (Grammy) icon

Telegram (Grammy)

Send and manage Telegram messages, chats, and files via Grammy

Actions10

File → Get File Path

AI-generated

Summary

Get the Telegram file path for a file ID using the supplied bot token. The operation calls Telegram’s getFile API and returns its file_path field.

Inputs

  • Bot Token (required) — Telegram bot token. Defaults to $json.access_token || $json.token; it must resolve to a non-empty string.
  • File ID (required) — Telegram file_id from a message.

Output shape

A single item containing a file_path field.

The result is { "file_path": <path> }. With Continue On Fail enabled, an API error is returned as { "error": <message> } for that item.

Links

Discussion