Reference
Send a photo / video album
Send 2–10 photos / videos (already uploaded to the account's outgoing folder) as one Telegram album, caption on the first. Same send gate as single files.
View MarkdownThis page is generated from the source code on every release.
Send 2–10 photos / videos (already uploaded to the account's outgoing folder) as one Telegram album, caption on the first. Same send gate as single files.
Overview
| Name | Value |
|---|---|
| Code | messages.send_album |
| Scope needed | messages.send |
| Risk | Write |
| May need confirmation | No |
| Runs as | Queues work for a node |
Needs Idempotency-Key |
Yes |
| Member roles allowed | owner, manager, agent |
| Needs a worker from version | 1.0.15 |
| In the app | Inbox → composer → pick several photos |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
conversationId |
uuid |
Yes | |
items |
object[] |
Yes | |
caption |
text |
No | |
topicId |
integer |
No | |
inReplyToEventId |
text |
No | |
ifLastMessageId |
uuid |
No |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/messages.send_album \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: <unique key per operation>" \
-d '{"conversationId":"00000000-0000-0000-0000-000000000000","items":[]}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
jobId |
text |
Yes |
messageIds |
text[] |
Yes |
Example answer
{
"data": {
"ok": true,
"jobId": "00000000-0000-4000-8000-000000000000",
"messageIds": [
"text"
]
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "messages.send_album". Tool name when listed: messages_send_album.