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::BotDescription;

impl_payload! {
    /// Use this method to get the current bot description for the given user language. Returns [`BotDescription`] on success.
    ///
    /// [`BotDescription`]: crate::types::BotDescription
    #[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)]
    pub GetMyDescription (GetMyDescriptionSetters) => BotDescription {
        optional {
            /// A two-letter ISO 639-1 language code
            pub language_code: String [into],
        }
    }
}