Telegram Bot API

Reposts a story on behalf of a business account from another business account. Both business accounts must be managed by the same bot, and the story on the source account must have been posted (or reposted) by the bot. Requires the can_manage_stories business bot right for both business accounts. Returns Story on success.

post/repostStory

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/repostStory
  • Auth: none declared

Request body

business_connection_idstring required

Unique identifier of the business connection

from_chat_idinteger required

Unique identifier of the chat which posted the story that should be reposted

from_story_idinteger required

Unique identifier of the story that should be reposted

active_period21600 | 43200 | 86400 | 172800 required

Period after which the story is moved to the archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400

post_to_chat_pageboolean

Pass True to keep the story accessible after it expires

protect_contentboolean

Pass True if the content of the story must be protected from forwarding and screenshotting

Response

Telegram API response

oktrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.