Struct awesome_bot::SendPhoto[][src]

pub struct SendPhoto { /* fields omitted */ }

Transparent struct built by SendBuilder to send Photo messages.

Methods

impl SendPhoto
[src]

Set a caption to be included with the message.

Set a message ID to reply with this message.

Set a ReplyMarkup to send, but instead of this, use the keyboard, hide or force methods

impl SendPhoto
[src]

Add keyboard methods to the struct, only one of these will be sent, and it will be the last one used.

Add a keyboard to the reply

Hide the keyboard

Force the reply to this message

Trait Implementations

impl Finisher<Message> for SendPhoto
[src]

Auto Trait Implementations

impl Send for SendPhoto

impl Sync for SendPhoto