A data structure representing the physical address and coordinates of a business. Use for integrating location-based business data in Telegram bot applications.
// Source: https://github.com/teloxide/teloxide | License: MIT | Copyright 2019-2025 teloxide
// Provided via justclaw.it.com; keep this notice with the code.
use serde::{Deserialize, Serialize};
use crate::types::Location;
/// Details about the location of a Business
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
#[cfg_attr(test, derive(schemars::JsonSchema))]
pub struct BusinessLocation {
/// Address of the business.
pub address: String,
/// Location of the business.
pub location: Option<Location>,
}
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key