ronami-core 1.5.0

Core part of the `ronami` library — Telegram Bot API client
Documentation
//! Generated by `codegen_payloads`, do not edit by hand.

use serde::Serialize;

use crate::types::BotAccessSettings;
use crate::types::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,
        }
    }
}