actix-telegram 0.0.5

telegram bot api lib based on actix
1
2
3
4
5
6
7
8
9
10
11
use crate::types::*;

/// This object represents a point on the map.
#[derive(Debug, Deserialize, Clone, Getters)]
#[get(vis = "pub")]
pub struct Location {
    /// Longitude as defined by sender
    pub(crate) longitude: Float,
    /// Latitude as defined by sender
    pub(crate) latitude: Float,
}