Skip to content

deleteStory

Returns boolean

Deletes a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right.

Required: business_connection_id, story_id

Try it
Token saved
Response

TypeScript example · @effect-ak/tg-bot-client
import { makeTgBotClient } from "@effect-ak/tg-bot-client"
const client = makeTgBotClient({ bot_token: "YOUR_BOT_TOKEN" })
const result = await client.execute("delete_story", {
business_connection_id: "...",
story_id: 0
})

Parameters

business_connection_id string Required
Unique identifier of the business connection.

story_id number Required
Unique identifier of the story to delete.

deleteBusinessMessages · deleteChatPhoto · deleteChatStickerSet · deleteForumTopic · deleteMessage · deleteMessages · deleteMyCommands · deleteStickerFromSet · deleteStickerSet · deleteWebhook