Skip to main content

ronami_core/payloads/
get_managed_bot_token.rs

1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::UserId;
6
7impl_payload! {
8    /// Use this method to get the token of a managed bot. Returns the token as String on success.
9    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
10    pub GetManagedBotToken (GetManagedBotTokenSetters) => String {
11        required {
12            /// Unique identifier of the target user
13            pub user_id: UserId,
14        }
15    }
16}