Struct awesome_bot::SendLocation [−][src]
pub struct SendLocation { /* fields omitted */ }Transparent struct built by SendBuilder to send
Location
messages.
Methods
impl SendLocation[src]
impl SendLocationpub fn reply_id(&mut self, v: Integer) -> &mut SendLocation[src]
pub fn reply_id(&mut self, v: Integer) -> &mut SendLocationSet a message ID to reply with this message.
pub fn markup(&mut self, v: ReplyMarkup) -> &mut SendLocation[src]
pub fn markup(&mut self, v: ReplyMarkup) -> &mut SendLocationSet a ReplyMarkup to send, but instead of this, use the keyboard, hide or force methods
impl SendLocation[src]
impl SendLocationAdd keyboard methods to the struct, only one of these will be sent, and it will be the last one used.
pub fn keyboard(&mut self, r: ReplyKeyboardMarkup) -> &mut SendLocation[src]
pub fn keyboard(&mut self, r: ReplyKeyboardMarkup) -> &mut SendLocationAdd a keyboard to the reply
pub fn hide(&mut self, h: bool) -> &mut SendLocation[src]
pub fn hide(&mut self, h: bool) -> &mut SendLocationHide the keyboard
pub fn force(&mut self, f: bool) -> &mut SendLocation[src]
pub fn force(&mut self, f: bool) -> &mut SendLocationForce the reply to this message
Trait Implementations
Auto Trait Implementations
impl Send for SendLocation
impl Send for SendLocationimpl Sync for SendLocation
impl Sync for SendLocation