Struct awesome_bot::SendLocation [−][src]
Transparent struct built by SendBuilder
to send
Location
messages.
Methods
impl SendLocation
[src]
[−]
impl SendLocation
pub fn reply_id(&mut self, v: Integer) -> &mut SendLocation
[src]
[−]
pub fn reply_id(&mut self, v: Integer) -> &mut SendLocation
Set 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 SendLocation
Set a ReplyMarkup
to send, but instead of this, use the keyboard
, hide
or force
methods
impl SendLocation
[src]
[−]
impl SendLocation
Add 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 SendLocation
Add a keyboard to the reply
pub fn hide(&mut self, h: bool) -> &mut SendLocation
[src]
[−]
pub fn hide(&mut self, h: bool) -> &mut SendLocation
Hide the keyboard
pub fn force(&mut self, f: bool) -> &mut SendLocation
[src]
[−]
pub fn force(&mut self, f: bool) -> &mut SendLocation
Force the reply to this message
Trait Implementations
impl Finisher<Message> for SendLocation
[src]
[+]
impl Finisher<Message> for SendLocation
Auto Trait Implementations
impl Send for SendLocation
impl Send for SendLocation
impl Sync for SendLocation
impl Sync for SendLocation