teloxide_core/payloads/
set_sticker_keywords.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 change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.
9    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
10    pub SetStickerKeywords (SetStickerKeywordsSetters) => True {
11        required {
12            /// File identifier of the sticker
13            pub sticker: String [into],
14        }
15        optional {
16            /// A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters
17            pub keywords: Vec<String> [collect],
18        }
19    }
20}