teloxide_core/payloads/delete_story.rs
1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::{BusinessConnectionId, StoryId, True};
6
7impl_payload! {
8 /// 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.
9 #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
10 pub DeleteStory (DeleteStorySetters) => True {
11 required {
12 /// Unique identifier of the business connection
13 pub business_connection_id: BusinessConnectionId,
14 /// Unique identifier of the story to delete
15 pub story_id: StoryId,
16 }
17 }
18}