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
Instructs clients to force a reply to this message
Tuple Fields of ForceReply
Contains an inline keyboard layout
Tuple Fields of InlineKeyboard
Instructs clients 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
Tuple Fields of RemoveKeyboard
Contains a custom keyboard layout to quickly reply to bots
Tuple Fields of ShowKeyboard
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