Struct awesome_bot::SendText [−][src]
pub struct SendText { /* fields omitted */ }Transparent struct built by SendBuilder to send
Text
messages.
Methods
impl SendText[src]
impl SendTextpub fn parse_mode(&mut self, v: ParseMode) -> &mut SendText[src]
pub fn parse_mode(&mut self, v: ParseMode) -> &mut SendTextSet ParseMode for the message
pub fn disable_preview(&mut self, v: bool) -> &mut SendText[src]
pub fn disable_preview(&mut self, v: bool) -> &mut SendTextSet true to disable the link preview in the message.
pub fn reply_id(&mut self, v: Integer) -> &mut SendText[src]
pub fn reply_id(&mut self, v: Integer) -> &mut SendTextSet a message ID to reply to with this message.
pub fn markup(&mut self, v: ReplyMarkup) -> &mut SendText[src]
pub fn markup(&mut self, v: ReplyMarkup) -> &mut SendTextSet a ReplyMarkup to send, but instead of directly using this, use the keyboard, hide or force methods
impl SendText[src]
impl SendTextAdd 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 SendText[src]
pub fn keyboard(&mut self, r: ReplyKeyboardMarkup) -> &mut SendTextAdd a keyboard to the reply
pub fn hide(&mut self, h: bool) -> &mut SendText[src]
pub fn hide(&mut self, h: bool) -> &mut SendTextHide the keyboard
pub fn force(&mut self, f: bool) -> &mut SendText[src]
pub fn force(&mut self, f: bool) -> &mut SendTextForce the reply to this message