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