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
//! Generated by `codegen_payloads`, do not edit by hand.

use serde::Serialize;

use crate::types::{BusinessConnection, BusinessConnectionId};

impl_payload! {
    /// Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.
    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
    pub GetBusinessConnection (GetBusinessConnectionSetters) => BusinessConnection {
        required {
            /// Unique identifier of the business connection
            pub business_connection_id: BusinessConnectionId,
        }
    }
}