teloxide_core/payloads/
set_sticker_mask_position.rs

1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::{MaskPosition, True};
6
7impl_payload! {
8    /// Use this method to change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns True on success.
9    #[derive(Debug, PartialEq, Clone, Serialize)]
10    pub SetStickerMaskPosition (SetStickerMaskPositionSetters) => True {
11        required {
12            /// File identifier of the sticker
13            pub sticker: String [into],
14        }
15        optional {
16            /// A JSON-serialized object with the position where the mask should be placed on faces. Omit the parameter to remove the mask position.
17            pub mask_position: MaskPosition,
18        }
19    }
20}