Skip to main content

ronami_core/payloads/
delete_story.rs

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