teloxide_core/payloads/
delete_chat_sticker_set.rs

1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::{Recipient, True};
6
7impl_payload! {
8    /// Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Use the field `can_set_sticker_set` optionally returned in [`GetChat`] requests to check if the bot can use this method. Returns _True_ on success.
9    ///
10    /// [`GetChat`]: crate::payloads::GetChat
11    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
12    pub DeleteChatStickerSet (DeleteChatStickerSetSetters) => True {
13        required {
14            /// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
15            pub chat_id: Recipient [into],
16        }
17    }
18}