Struct telebot::objects::KeyboardButton [] [src]

pub struct KeyboardButton {
    pub text: String,
    pub request_contact: Option<bool>,
    pub request_location: Option<bool>,
}

This object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button. Optional fields are mutually exclusive.

Fields

Trait Implementations

impl Debug for KeyboardButton
[src]

Formats the value using the given formatter.