teloxide/src/payloads/delete_sticker_from_set.rs
Waffle 7600a88312 Fix SetWebhook
Make `GetUpdates::allowed_updates` optional
2021-03-06 00:48:06 +03:00

17 lines
570 B
Rust

// This file is auto generated by `cg` <https://github.com/teloxide/cg> (24572cd + local changes).
// **DO NOT EDIT THIS FILE**,
// edit `cg` instead.
use serde::Serialize;
use crate::types::True;
impl_payload! {
/// Use this method to delete a sticker from a set created by the bot. Returns _True_ on success.
#[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
pub DeleteStickerFromSet (DeleteStickerFromSetSetters) => True {
required {
/// File identifier of the sticker
pub sticker: String [into],
}
}
}