teloxide-core 0.13.0

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

impl_payload! {
    /// Removes verification from a user who is currently verified [on behalf of the organization] represented by the bot. Returns _true_ on success.
    ///
    /// [on behalf of the organization]: https://telegram.org/verify#third-party-verification
    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
    pub RemoveUserVerification (RemoveUserVerificationSetters) => True {
        required {
            /// Unique identifier of the target user
            pub user_id: UserId,
        }
    }
}