teloxide_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, BusinessConnectionId};
6
7impl_payload! {
8 /// Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.
9 #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
10 pub GetBusinessConnection (GetBusinessConnectionSetters) => BusinessConnection {
11 required {
12 /// Unique identifier of the business connection
13 pub business_connection_id: BusinessConnectionId,
14 }
15 }
16}