tg_flows/types/chat_location.rs
1use serde::{Deserialize, Serialize};
2
3use crate::types::Location;
4
5/// Represents a location to which a chat is connected.
6#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
7pub struct ChatLocation {
8 /// The location to which the supergroup is connected. Can't be a live
9 /// location.
10 pub location: Location,
11 /// Location address; 1-64 characters, as defined by the chat owner.
12 pub address: String,
13}