ferrisgram 0.2.1

An elegent rust client for the Telegram Bot API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!

use crate::types::Location;
use serde::{Deserialize, Serialize};

/// Contains information about the location of a Telegram Business account.
/// <https://core.telegram.org/bots/api#businesslocation>
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct BusinessLocation {
    /// Address of the business
    pub address: String,
    /// Optional. Location of the business
    #[serde(skip_serializing_if = "Option::is_none")]
    pub location: Option<Location>,
}