pub struct SendLocation {Show 14 fields
pub chat_id: ChatUId,
pub latitude: f64,
pub longitude: f64,
pub message_thread_id: Option<i64>,
pub horizontal_accuracy: Option<f64>,
pub live_period: Option<i64>,
pub heading: Option<i64>,
pub proximity_alert_radius: Option<i64>,
pub disable_notification: Option<bool>,
pub protect_content: Option<bool>,
pub reply_parameters: Option<ReplyParameters>,
pub reply_markup: Option<ReplyMarkup>,
pub business_connection_id: Option<String>,
pub message_effect_id: Option<String>,
}Expand description
https://core.telegram.org/bots/api#sendlocation Use this method to send point on the map. On success, the sent Message is returned.
Fields§
§chat_id: ChatUId§latitude: f64§longitude: f64§message_thread_id: Option<i64>§horizontal_accuracy: Option<f64>§live_period: Option<i64>§heading: Option<i64>§proximity_alert_radius: Option<i64>§disable_notification: Option<bool>§protect_content: Option<bool>§reply_parameters: Option<ReplyParameters>§reply_markup: Option<ReplyMarkup>§business_connection_id: Option<String>§message_effect_id: Option<String>Trait Implementations§
Source§impl Debug for SendLocation
impl Debug for SendLocation
Source§impl Default for SendLocation
impl Default for SendLocation
Source§fn default() -> SendLocation
fn default() -> SendLocation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendLocation
impl RefUnwindSafe for SendLocation
impl Send for SendLocation
impl Sync for SendLocation
impl Unpin for SendLocation
impl UnwindSafe for SendLocation
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more