peyk.platforms.telegram.methods.delete_story¶
- async peyk.platforms.telegram.methods.delete_story(self, business_connection_id: str, story_id: int) bool¶
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:
business_connection_id – Unique identifier of the business connection
story_id – Unique identifier of the story to delete
- Returns:
Result returned by Telegram on successful execution.
- Return type:
bool