teloxide_core/payloads/get_unique_gift.rs
1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::UniqueGift;
6
7impl_payload! {
8 /// Use this method to get information about a unique gift by its name. Returns a [`UniqueGift`] object on success.
9 ///
10 /// [`UniqueGift`]: crate::types::UniqueGift
11 #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
12 pub GetUniqueGift (GetUniqueGiftSetters) => UniqueGift {
13 required {
14 /// Unique name of the gift
15 pub name: String [into],
16 }
17 }
18}