Enum rtdlib::types::ReplyMarkup [−][src]
pub enum ReplyMarkup {
ForceReply(ReplyMarkupForceReply),
InlineKeyboard(ReplyMarkupInlineKeyboard),
RemoveKeyboard(ReplyMarkupRemoveKeyboard),
ShowKeyboard(ReplyMarkupShowKeyboard),
// some variants omitted
}Expand description
Contains a description of a custom keyboard and actions that can be done with it to quickly reply to bots
Variants
ForceReply(ReplyMarkupForceReply)
Tuple Fields
Instructs application to force a reply to this message
InlineKeyboard(ReplyMarkupInlineKeyboard)
Tuple Fields
Contains an inline keyboard layout
RemoveKeyboard(ReplyMarkupRemoveKeyboard)
Tuple Fields
Instructs application to remove the keyboard once this message has been received. This kind of keyboard can’t be received in an incoming message; instead, UpdateChatReplyMarkup with message_id == 0 will be sent
ShowKeyboard(ReplyMarkupShowKeyboard)
Tuple Fields
Contains a custom keyboard layout to quickly reply to bots
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<ReplyMarkup, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ReplyMarkup, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReplyMarkup
impl Send for ReplyMarkup
impl Sync for ReplyMarkup
impl Unpin for ReplyMarkup
impl UnwindSafe for ReplyMarkup
Blanket Implementations
Mutably borrows from an owned value. Read more
