ronami_core/payloads/add_sticker_to_set.rs
1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::{InputSticker, True, UserId};
6
7impl_payload! {
8 @[multipart = sticker]
9 /// Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns True on success.
10 #[derive(Debug, Clone, Serialize)]
11 pub AddStickerToSet (AddStickerToSetSetters) => True {
12 required {
13 /// User identifier of sticker file owner
14 pub user_id: UserId,
15 /// Sticker set name
16 pub name: String [into],
17 /// A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed.
18 pub sticker: InputSticker,
19 }
20 }
21}