Reference
Open story photo / video
Get a signed link (1 hour) to a story's photo or video. Returns the link at once when the workspace already has it; otherwise the machine downloads it and the operation result carries `url`. Opening does not mark the story seen — use `stories.mark_seen`.
View MarkdownThis page is generated from the source code on every release.
Get a signed link (1 hour) to a story's photo or video. Returns the link at once when the workspace already has it; otherwise the machine downloads it and the operation result carries url. Opening does not mark the story seen — use stories.mark_seen.
Overview
| Name | Value |
|---|---|
| Code | stories.media |
| Scope needed | messages.read |
| Risk | Read |
| May need confirmation | No |
| Runs as | Queues work for a node |
Needs Idempotency-Key |
No |
| Member roles allowed | owner, manager, agent |
| Needs a worker from version | 1.0.29 |
| In the app | Story viewer |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
accountId |
uuid |
Yes | |
peer |
object |
No | |
storyId |
integer |
Yes |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/stories.media \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accountId":"00000000-0000-0000-0000-000000000000","storyId":1}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
url |
text |
Yes |
Example answer
{
"data": {
"ok": true,
"url": "text"
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "stories.media". Tool name when listed: stories_media.