Skip to main content

ronami_core/payloads/
remove_chat_verification.rs

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