ronami_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;
6use crate::types::True;
7
8impl_payload! {
9 /// 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.
10 ///
11 /// [`GetChat`]: crate::payloads::GetChat
12 #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
13 pub DeleteChatStickerSet (DeleteChatStickerSetSetters) => True {
14 required {
15 /// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
16 pub chat_id: Recipient [into],
17 }
18 }
19}