Skip to main content

ronami_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;
6use crate::types::True;
7
8impl_payload! {
9    /// 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.
10    #[derive(Debug, PartialEq, Clone, Serialize)]
11    pub SetStickerMaskPosition (SetStickerMaskPositionSetters) => True {
12        required {
13            /// File identifier of the sticker
14            pub sticker: String [into],
15        }
16        optional {
17            /// A JSON-serialized object with the position where the mask should be placed on faces. Omit the parameter to remove the mask position.
18            pub mask_position: MaskPosition,
19        }
20    }
21}