ronami-core 1.1.0

Core part of the `ronami` 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::{BotAccessSettings, UserId};

impl_payload! {
    /// Use this method to get the access settings of a managed bot. Returns a [`BotAccessSettings`] object on success.
    ///
    /// [`BotAccessSettings`]: crate::types::BotAccessSettings
    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
    pub GetManagedBotAccessSettings (GetManagedBotAccessSettingsSetters) => BotAccessSettings {
        required {
            /// User identifier of the managed bot whose access settings will be returned
            pub user_id: UserId,
        }
    }
}