Trait teloxide_core::payloads::SendLocationSetters[][src]

pub trait SendLocationSetters: HasPayload<Payload = SendLocation> + Sized {
    fn chat_id<T>(self, value: T) -> Self
    where
        T: Into<ChatId>
, { ... }
fn latitude(self, value: f64) -> Self { ... }
fn longitude(self, value: f64) -> Self { ... }
fn horizontal_accuracy(self, value: f64) -> Self { ... }
fn live_period(self, value: u32) -> Self { ... }
fn heading(self, value: u16) -> Self { ... }
fn proximity_alert_radius(self, value: u32) -> Self { ... }
fn disable_notification(self, value: bool) -> Self { ... }
fn reply_to_message_id(self, value: i32) -> Self { ... }
fn allow_sending_without_reply(self, value: bool) -> Self { ... }
fn reply_markup<T>(self, value: T) -> Self
    where
        T: Into<ReplyMarkup>
, { ... } }

Setters for fields of SendLocation

Provided methods

fn chat_id<T>(self, value: T) -> Self where
    T: Into<ChatId>, 
[src]

Setter for chat_id field.

fn latitude(self, value: f64) -> Self[src]

Setter for latitude field.

fn longitude(self, value: f64) -> Self[src]

Setter for longitude field.

fn horizontal_accuracy(self, value: f64) -> Self[src]

Setter for horizontal_accuracy field.

fn live_period(self, value: u32) -> Self[src]

Setter for live_period field.

fn heading(self, value: u16) -> Self[src]

Setter for heading field.

fn proximity_alert_radius(self, value: u32) -> Self[src]

Setter for proximity_alert_radius field.

fn disable_notification(self, value: bool) -> Self[src]

Setter for disable_notification field.

fn reply_to_message_id(self, value: i32) -> Self[src]

Setter for reply_to_message_id field.

fn allow_sending_without_reply(self, value: bool) -> Self[src]

Setter for allow_sending_without_reply field.

fn reply_markup<T>(self, value: T) -> Self where
    T: Into<ReplyMarkup>, 
[src]

Setter for reply_markup field.

Loading content...

Implementors

impl<P> SendLocationSetters for P where
    P: HasPayload<Payload = SendLocation>, 
[src]

Loading content...