teloxide_core/payloads/get_my_description.rs
1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::BotDescription;
6
7impl_payload! {
8 /// Use this method to get the current bot description for the given user language. Returns [`BotDescription`] on success.
9 ///
10 /// [`BotDescription`]: crate::types::BotDescription
11 #[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)]
12 pub GetMyDescription (GetMyDescriptionSetters) => BotDescription {
13 optional {
14 /// A two-letter ISO 639-1 language code
15 pub language_code: String [into],
16 }
17 }
18}