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
// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!

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

/// Represents a location to which a chat is connected.
/// <https://core.telegram.org/bots/api#chatlocation>
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ChatLocation {
    /// The location to which the supergroup is connected. Can't be a live location.
    pub location: Location,
    /// Location address; 1-64 characters, as defined by the chat owner
    pub address: String,
}