teloxide-fork-core 0.16.0

Core part of the `teloxide` library - telegram bot API client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Generated by `codegen_payloads`, do not edit by hand.

use serde::Serialize;

use crate::types::UniqueGift;

impl_payload! {
    /// Use this method to get information about a unique gift by its name. Returns a [`UniqueGift`] object on success.
    ///
    /// [`UniqueGift`]: crate::types::UniqueGift
    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
    pub GetUniqueGift (GetUniqueGiftSetters) => UniqueGift {
        required {
            /// Unique name of the gift
            pub name: String [into],
        }
    }
}