TelePilot2 icon

TelePilot2

Your Personal Telegram CoPilot

Message → Get Albums

AI-generated

Summary

Retrieves grouped media albums from a specified Telegram chat, optionally limited by count and creation time.

Inputs

  • Chat ID (required) — ID of the target chat.
  • Maximum Albums to Fetch — Maximum number of albums to return (1-50). Defaults to 10.
  • Fetch Albums After Timestamp — Unix timestamp (seconds). Only fetch albums created after this time. Use 0 or -1 to fetch all albums.

Output shape

A list of items, each containing an album object and metadata.

The node returns a single item with an 'albums' array and additional stats (total albums found, messages processed, etc.). Albums are sorted by message ID (oldest first).

Examples

Example 1: Fetch the most recent 10 albums in a chat.

Chat ID: 123456789, Maximum Albums to Fetch: 10, Fetch Albums After Timestamp: 0

Example 2: Retrieve albums created after a specific date.

Chat ID: 123456789, Maximum Albums to Fetch: 20, Fetch Albums After Timestamp: 1715000000

Example 3: Get all albums from a chat.

Chat ID: 123456789, Maximum Albums to Fetch: 50, Fetch Albums After Timestamp: -1

Links

Discussion