use serde::{Deserialize, Serialize};
use crate::types::Location;
/// Represents a location to which a chat is connected.
#[derive(Clone, Debug, Deserialize, PartialEq, PartialOrd, Serialize)]
pub struct ChatLocation {
/// The location address, defined by the chat owner, with a length of 1-64 characters.
pub address: String,
/// The location to which the chat is connected.
///
/// Can't be a live location.
pub location: Location,
}