telegram-send-album
Send a group of 2-10 photos as a single album message to a Telegram chat. Supports per-item captions and album-level caption.
Instructions
Send an album (group) of 2-10 photos as a single grouped message. Media type is auto-detected by file extension — videos are supported by the underlying TL call but are not covered by v1.29.0 mock tests, so uniform-photo albums are the safer choice until a live checkpoint. Uploads are serial per item: expect ≈4-10s for 10 mid-size photos, 15-40s for 10 large videos. Prefer ≤5 items or photos when low latency matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Array of media items (2-10) | |
| chatId | Yes | Chat ID or username | |
| caption | No | Album-level caption (attached to the first item — shown in the collapsed view) | |
| replyTo | No | Message ID to reply to | |
| topicId | No | Forum topic ID | |
| parseMode | No | Caption format (applies to all captions) |