Struct awesome_bot::SendDocument [−][src]
pub struct SendDocument { /* fields omitted */ }
Transparent struct built by SendBuilder
to send
Document
messages.
Methods
impl SendDocument
[src]
impl SendDocument
pub fn reply_id(&mut self, v: Integer) -> &mut SendDocument
[src]
pub fn reply_id(&mut self, v: Integer) -> &mut SendDocument
Set a message ID to reply with this message.
pub fn markup(&mut self, v: ReplyMarkup) -> &mut SendDocument
[src]
pub fn markup(&mut self, v: ReplyMarkup) -> &mut SendDocument
Set a ReplyMarkup
to send, but instead of this, use the keyboard
, hide
or force
methods
impl SendDocument
[src]
impl SendDocument
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 SendDocument
[src]
pub fn keyboard(&mut self, r: ReplyKeyboardMarkup) -> &mut SendDocument
Add a keyboard to the reply
pub fn hide(&mut self, h: bool) -> &mut SendDocument
[src]
pub fn hide(&mut self, h: bool) -> &mut SendDocument
Hide the keyboard
pub fn force(&mut self, f: bool) -> &mut SendDocument
[src]
pub fn force(&mut self, f: bool) -> &mut SendDocument
Force the reply to this message
Trait Implementations
Auto Trait Implementations
impl Send for SendDocument
impl Send for SendDocument
impl Sync for SendDocument
impl Sync for SendDocument