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