method ApiMethods.deleteStory
ApiMethods.deleteStory(args: { business_connection_id: string; story_id: number; }): true

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

Parameters

args: { business_connection_id: string; story_id: number; }

Return Type

true

Usage

import { type ApiMethods } from "types";