Struct telegram_bot2::models::DeleteChatStickerSet
source · pub struct DeleteChatStickerSet { /* private fields */ }Expand description
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 administrator rights. Use the field can_set_sticker_set optionally returned in get_chat requests to check if the bot can use this method. Returns true on success.
Trait Implementations§
source§impl Clone for DeleteChatStickerSet
impl Clone for DeleteChatStickerSet
source§fn clone(&self) -> DeleteChatStickerSet
fn clone(&self) -> DeleteChatStickerSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DeleteChatStickerSet
impl Debug for DeleteChatStickerSet
source§impl<'de> Deserialize<'de> for DeleteChatStickerSet
impl<'de> Deserialize<'de> for DeleteChatStickerSet
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more