ronami-core 1.0.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
//! Generated by `codegen_payloads`, do not edit by hand.

use serde::Serialize;

use crate::types::UserId;

impl_payload! {
    /// Use this method to revoke the current token of a managed bot and generate a new one. Returns the new token as String on success.
    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
    pub ReplaceManagedBotToken (ReplaceManagedBotTokenSetters) => String {
        required {
            /// Unique identifier of the target user
            pub user_id: UserId,
        }
    }
}