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