teloxide_core/payloads/
set_sticker_position_in_set.rs

1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::True;
6
7impl_payload! {
8    /// Use this method to move a sticker in a set created by the bot to a specific position. Returns _True_ on success.
9    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
10    pub SetStickerPositionInSet (SetStickerPositionInSetSetters) => True {
11        required {
12            /// File identifier of the sticker
13            pub sticker: String [into],
14            /// New sticker position in the set, zero-based
15            pub position: u32,
16        }
17    }
18}