pub struct EditMessageLiveLocationBuilder { /* private fields */ }Expand description
Builder for the EditMessageLiveLocation structure
Implementations§
source§impl EditMessageLiveLocationBuilder
impl EditMessageLiveLocationBuilder
sourcepub fn new(latitude: f64, longitude: f64) -> Self
pub fn new(latitude: f64, longitude: f64) -> Self
Instantiate the builder with the fields chat_id, message_id, inline_message_id, latitude, longitude, horizontal_accuracy, heading, proximity_alert_radius, reply_markup
sourcepub fn message_id(self, val: i64) -> Self
pub fn message_id(self, val: i64) -> Self
Set the field message_id to the given value
sourcepub fn inline_message_id(self, val: String) -> Self
pub fn inline_message_id(self, val: String) -> Self
Set the field inline_message_id to the given value
sourcepub fn horizontal_accuracy(self, val: f64) -> Self
pub fn horizontal_accuracy(self, val: f64) -> Self
Set the field horizontal_accuracy to the given value
sourcepub fn proximity_alert_radius(self, val: i64) -> Self
pub fn proximity_alert_radius(self, val: i64) -> Self
Set the field proximity_alert_radius to the given value
sourcepub fn reply_markup(self, val: ReplyMarkup) -> Self
pub fn reply_markup(self, val: ReplyMarkup) -> Self
Set the field reply_markup to the given value
Trait Implementations§
source§impl Builder for EditMessageLiveLocationBuilder
impl Builder for EditMessageLiveLocationBuilder
§type Value = EditMessageLiveLocation
type Value = EditMessageLiveLocation
Type to be built