pub struct SetChatStickerSet {
pub chat_id: ChatUId,
pub sticker_set_name: String,
}Expand description
https://core.telegram.org/bots/api#setchatstickerset Use this method to set a new group sticker set for 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 getChat requests to check if the bot can use this method. Returns True on success.
Fields§
§chat_id: ChatUId§sticker_set_name: StringTrait Implementations§
Source§impl Debug for SetChatStickerSet
impl Debug for SetChatStickerSet
Source§impl Default for SetChatStickerSet
impl Default for SetChatStickerSet
Source§fn default() -> SetChatStickerSet
fn default() -> SetChatStickerSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetChatStickerSet
impl RefUnwindSafe for SetChatStickerSet
impl Send for SetChatStickerSet
impl Sync for SetChatStickerSet
impl Unpin for SetChatStickerSet
impl UnwindSafe for SetChatStickerSet
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more