teloxide_core/payloads/
remove_user_verification.rs

1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::{True, UserId};
6
7impl_payload! {
8    /// Removes verification from a user who is currently verified [on behalf of the organization] represented by the bot. Returns _true_ on success.
9    ///
10    /// [on behalf of the organization]: https://telegram.org/verify#third-party-verification
11    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
12    pub RemoveUserVerification (RemoveUserVerificationSetters) => True {
13        required {
14            /// Unique identifier of the target user
15            pub user_id: UserId,
16        }
17    }
18}