Skip to main content

ronami_core/payloads/
get_business_connection.rs

1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::BusinessConnection;
6use crate::types::BusinessConnectionId;
7
8impl_payload! {
9    /// Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.
10    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
11    pub GetBusinessConnection (GetBusinessConnectionSetters) => BusinessConnection {
12        required {
13            /// Unique identifier of the business connection
14            pub business_connection_id: BusinessConnectionId,
15        }
16    }
17}