1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::types::location;
use serde::Deserialize;

/// Represents a location to which a chat is connected.
#[derive(Debug, PartialEq, Clone, Deserialize)]
#[non_exhaustive]
pub struct Location {
    /// The location to which the supergroup is connected.
    /// Can't be a live location.
    pub location: location::Location,
    /// Location address; 1-64 characters, as defined by the chat owner.
    pub address: String,
}