Enum telegram_bot::types::ReplyMarkup[][src]

pub enum ReplyMarkup {
    Keyboard(ReplyKeyboardMarkup),
    KeyboardHide(bool),
    ForceReply(bool),
}

Represents one of "ReplyKeyboardMarkup", "ReplyKeyboardHide" or "ForceReply". Used for the "reply_markup" field.

Variants

The boolean corresponds to the "selective" field of "ReplyKeyboardHide"

The boolean corresponds to the "selective" field of "ForceReply"

Trait Implementations

impl Debug for ReplyMarkup
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ReplyMarkup
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ReplyMarkup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<ReplyKeyboardMarkup> for ReplyMarkup
[src]

Performs the conversion.

impl Encodable for ReplyMarkup
[src]

Serialize a value using an Encoder.

Auto Trait Implementations

impl Send for ReplyMarkup

impl Sync for ReplyMarkup